]> 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)
commit753f074f0369bbd93547c9e38777e4032f6c2104
treef9febb7e331ff24efec9289e2a13be9e146f9cd5
parentde15981488973a6892c6b722dd468a1843e476df
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