]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffea1c5b4ba8b63e9bfb883e99a3b42050c61b08
treef9febb7e331ff24efec9289e2a13be9e146f9cd5
parent5a92c34fa03d55b874497a3f0823d8fa18cdd6da
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