aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-05-14 05:04:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-16 14:25:29 -0400
commitd07c7cf49ae7c488e778c4d668f4cc10bd2fa971 (patch)
tree792a88897179a102462925ccbde4765f8e8e38f1 /net/mac80211
parent9594b56dbed8cecc4694ed2ab7cf36c66623910e (diff)
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>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 96ab1302a099..866f269183cf 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -1090,6 +1090,8 @@ static void __exit ieee80211_exit(void)
1090 ieee80211s_stop(); 1090 ieee80211s_stop();
1091 1091
1092 ieee80211_iface_exit(); 1092 ieee80211_iface_exit();
1093
1094 rcu_barrier();
1093} 1095}
1094 1096
1095 1097