summaryrefslogtreecommitdiff
path: root/net/atm/atm_sysfs.c
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2014-06-05 16:21:37 +0400
committerJohannes Berg <johannes.berg@intel.com>2014-06-23 16:22:16 +0400
commit10d78f278214bd7c8a15d09ce2304728114786e7 (patch)
tree71c4a711f9cfe08f68c0e3ac3a454287577c5278 /net/atm/atm_sysfs.c
parentaf296bdb8da4d0a4284de10fc4a61497272ddf11 (diff)
downloadlinux-10d78f278214bd7c8a15d09ce2304728114786e7.tar.xz
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/atm/atm_sysfs.c')
0 files changed, 0 insertions, 0 deletions