diff options
author | Sara Sharon <sara.sharon@intel.com> | 2019-10-04 15:37:06 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-10-07 21:35:57 +0200 |
commit | 461c4c2b4c0731d7452bad4e77c0cdbdcea1804c (patch) | |
tree | 17ec48a63c1aa9d72ed5c50bc1e6abc65caa3afd /drivers/dma | |
parent | 1399c59fa92984836db90538cf92397fe7caaa57 (diff) | |
download | linux-461c4c2b4c0731d7452bad4e77c0cdbdcea1804c.tar.gz linux-461c4c2b4c0731d7452bad4e77c0cdbdcea1804c.tar.bz2 linux-461c4c2b4c0731d7452bad4e77c0cdbdcea1804c.zip |
cfg80211: fix a bunch of RCU issues in multi-bssid code
cfg80211_update_notlisted_nontrans() leaves the RCU critical session
too early, while still using nontrans_ssid which is RCU protected. In
addition, it performs a bunch of RCU pointer update operations such
as rcu_access_pointer and rcu_assign_pointer.
The caller, cfg80211_inform_bss_frame_data(), also accesses the RCU
pointer without holding the lock.
Just wrap all of this with bss_lock.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20191004123706.15768-3-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions