mac80211: make scan_sdata pointer usable with RCU
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 Jul 2012 19:39:28 +0000 (21:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 10:10:43 +0000 (12:10 +0200)
commite2fd5dbc1c7031be5b5de043bcc0a18c7a59a68a
treef9febb7e331ff24efec9289e2a13be9e146f9cd5
parentd811b3d5566f1441b321a1219c260124b209e0bd
mac80211: make scan_sdata pointer usable with RCU

Making the scan_sdata pointer usable with RCU makes
it possible to dereference it in the RX path to see
if a received frame actually matches the interface
that is scanning. This is just preparations, making
the pointer __rcu.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/scan.c