linux/net/wireless
Rameshkumar Sundaram a5199b5626 cfg80211: hold bss_lock while updating nontrans_list
Synchronize additions to nontrans_list of transmitting BSS with
bss_lock to avoid races. Also when cfg80211_add_nontrans_list() fails
__cfg80211_unlink_bss() needs bss_lock to be held (has lockdep assert
on bss_lock). So protect the whole block with bss_lock to avoid
races and warnings. Found during code review.

Fixes: 0b8fb8235b ("cfg80211: Parsing of Multiple BSSID information in scanning")
Signed-off-by: Rameshkumar Sundaram <quic_ramess@quicinc.com>
Link: https://lore.kernel.org/r/1649668071-9370-1-git-send-email-quic_ramess@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2022-04-11 11:55:36 +02:00
..
certs
.gitignore
ap.c
chan.c cfg80211: Add support for EHT 320 MHz channel width 2022-02-16 15:42:39 +01:00
core.c cfg80211: fix race in netlink owner interface destruction 2022-02-04 16:31:44 +01:00
core.h
debugfs.c
debugfs.h
ethtool.c
ibss.c
Kconfig
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
Makefile cfg80211: fix CONFIG_CFG80211_EXTRA_REGDB_KEYDIR typo 2022-03-01 14:10:14 +01:00
mesh.c
mlme.c
nl80211.c nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size 2022-04-11 11:55:33 +02:00
nl80211.h
ocb.c
of.c
pmsr.c cfg80211: pmsr: remove useless ifdef guards 2022-02-04 16:26:16 +01:00
radiotap.c
rdev-ops.h
reg.c nl80211: add support for 320MHz channel limitation 2022-02-16 15:43:02 +01:00
reg.h
scan.c cfg80211: hold bss_lock while updating nontrans_list 2022-04-11 11:55:36 +02:00
sme.c
sysfs.c
sysfs.h
trace.c
trace.h
util.c brcmfmac 2022-03-11 13:00:17 -08:00
wext-compat.c
wext-compat.h
wext-core.c
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c