summaryrefslogtreecommitdiff
path: root/mm/sparse.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 /mm/sparse.c
parentaf296bdb8da4d0a4284de10fc4a61497272ddf11 (diff)
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 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions