summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2014-06-05 14:21:37 +0200
committerJohannes Berg <johannes.berg@intel.com>2014-06-23 14:22:16 +0200
commit10d78f278214bd7c8a15d09ce2304728114786e7 (patch)
tree71c4a711f9cfe08f68c0e3ac3a454287577c5278 /net/mac80211/debugfs_sta.c
parentmac80211: move csa counters from sdata to beacon/presp (diff)
downloadlinux-10d78f278214bd7c8a15d09ce2304728114786e7.tar.xz
linux-10d78f278214bd7c8a15d09ce2304728114786e7.zip
mac80211: use csa counter offsets instead of csa_active
vif->csa_active is protected by mutexes only. This means it is unreliable to depend on it on codeflow in non-sleepable beacon and CSA code. There was no guarantee to have vif->csa_active update be visible before beacons are updated on SMP systems. Using csa counter offsets which are embedded in beacon struct (and thus are protected with single RCU assignment) is much safer. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
0 files changed, 0 insertions, 0 deletions