From: Johannes Berg Date: Mon, 25 Feb 2008 15:27:42 +0000 (+0100) Subject: mac80211: safely free beacon in ieee80211_if_reinit X-Git-Tag: v2.6.26-rc1~1138^2~530^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a5ddf20886206caf1c4a2431f6ff01198ab0f7;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed