WSL2-Linux-Kernel/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
Kconfig cfg80211: select CONFIG_CRC32 2021-01-05 15:50:36 -08:00
Makefile cfg80211: fix CONFIG_CFG80211_EXTRA_REGDB_KEYDIR typo 2022-03-01 14:10:14 +01:00
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 cfg80211: rename offchannel_chain structs to background_chain to avoid confusion with ETSI standard 2021-12-20 10:37:36 +01:00
debugfs.c cfg80211: avoid holding the RTNL when calling the driver 2021-01-26 11:55:50 +01:00
debugfs.h
ethtool.c
ibss.c cfg80211: avoid holding the RTNL when calling the driver 2021-01-26 11:55:50 +01:00
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
mesh.c
mlme.c cfg80211: rename offchannel_chain structs to background_chain to avoid confusion with ETSI standard 2021-12-20 10:37:36 +01:00
nl80211.c nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size 2022-04-11 11:55:33 +02:00
nl80211.h nl80211: fix radio statistics in survey dump 2021-11-15 10:51:51 +01:00
ocb.c
of.c
pmsr.c cfg80211: pmsr: remove useless ifdef guards 2022-02-04 16:26:16 +01:00
radiotap.c mac80211: Use flex-array for radiotap header bitmap 2021-08-13 09:58:25 +02:00
rdev-ops.h cfg80211: rename offchannel_chain structs to background_chain to avoid confusion with ETSI standard 2021-12-20 10:37:36 +01:00
reg.c nl80211: add support for 320MHz channel limitation 2022-02-16 15:43:02 +01:00
reg.h cfg80211: avoid holding the RTNL when calling the driver 2021-01-26 11:55:50 +01:00
scan.c cfg80211: hold bss_lock while updating nontrans_list 2022-04-11 11:55:36 +02:00
sme.c cfg80211: use ieee80211_bss_get_elem() instead of _get_ie() 2021-11-28 21:53:04 +01:00
sysfs.c cfg80211: shut down interfaces on failed resume 2021-06-09 16:09:20 +02:00
sysfs.h
trace.c
trace.h cfg80211: rename offchannel_chain structs to background_chain to avoid confusion with ETSI standard 2021-12-20 10:37:36 +01:00
util.c brcmfmac 2022-03-11 13:00:17 -08:00
wext-compat.c cfg80211: expose the rfkill device to the low level driver 2021-06-23 11:29:13 +02:00
wext-compat.h
wext-core.c wext: fix NULL-ptr-dereference with cfg80211's lack of commit() 2021-01-26 11:59:42 +01:00
wext-priv.c
wext-proc.c
wext-sme.c cfg80211: use ieee80211_bss_get_elem() instead of _get_ie() 2021-11-28 21:53:04 +01:00
wext-spy.c wireless: wext-spy: Fix out-of-bounds warning 2021-06-23 10:57:17 +02:00