mac80211: add missing rcu_barrier
commitd07c7cf49ae7c488e778c4d668f4cc10bd2fa971
authorJohannes Berg <johannes.berg@intel.com>
Sat, 14 May 2011 09:04:51 +0000 (14 11:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 May 2011 18:25:29 +0000 (16 14:25 -0400)
tree792a88897179a102462925ccbde4765f8e8e38f1
parent9594b56dbed8cecc4694ed2ab7cf36c66623910e
mac80211: add missing rcu_barrier

mac80211 uses call_rcu() with functions that are
defined in the module, so it must use rcu_barrier()
at module exit time.

Luckily, this seems to not be a problem in practice
as module unload and unregistration takes a long
time and probably does multiple synchronize_rcu().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c