diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-02-25 18:27:42 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 23:42:00 +0300 |
commit | e6a5ddf20886206caf1c4a2431f6ff01198ab0f7 (patch) | |
tree | d299c8113e8b0c96368165fbde3da440f1ea7142 /net/mac80211/sta_info.h | |
parent | 2485f7105f20f85c2dbebc67be6b2cb97175fa7e (diff) | |
download | linux-e6a5ddf20886206caf1c4a2431f6ff01198ab0f7.tar.xz |
mac80211: safely free beacon in ieee80211_if_reinit
If ieee80211_if_reinit() is called from ieee80211_unregister_hw()
then it is possible that the driver will still request a beacon
(it is allowed to until ieee80211_unregister_hw() has returned.)
This means we need to use an RCU-protected write to the beacon
information even in this function.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
0 files changed, 0 insertions, 0 deletions