summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDu Cheng <ducheng2@gmail.com>2021-04-08 00:27:56 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-16 12:00:22 +0200
commit508e8b008438e3c13e0bd1de5aa4d60d37f4124e (patch)
tree7ab6fa474a4f0e1bbdeeea51f63b465206151e28 /lib/memory-notifier-error-inject.c
parentc9a41797b87cf60ba2aa45eada26330ca0ed25bd (diff)
cfg80211: remove WARN_ON() in cfg80211_sme_connect
commit 1b5ab825d9acc0f27d2f25c6252f3526832a9626 upstream. A WARN_ON(wdev->conn) would trigger in cfg80211_sme_connect(), if multiple send_msg(NL80211_CMD_CONNECT) system calls are made from the userland, which should be anticipated and handled by the wireless driver. Remove this WARN_ON() to prevent kernel panic if kernel is configured to "panic_on_warn". Bug reported by syzbot. Reported-by: syzbot+5f9392825de654244975@syzkaller.appspotmail.com Signed-off-by: Du Cheng <ducheng2@gmail.com> Link: https://lore.kernel.org/r/20210407162756.6101-1-ducheng2@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions