diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-03-31 19:23:03 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-01 23:14:10 +0200 |
commit | dc6676b7f2c2072ec05254aaca32e99f87a8a417 (patch) | |
tree | 6caf7e007063f9ae6a16fdcb1912bf72d31237c2 /net/mac80211/sta_info.h | |
parent | mac80211: clean up sta_info_destroy() users wrt. RCU/locking (diff) | |
download | linux-dc6676b7f2c2072ec05254aaca32e99f87a8a417.tar.xz linux-dc6676b7f2c2072ec05254aaca32e99f87a8a417.zip |
mac80211: sta_info_flush() fixes
When the IBSS code tries to flush the STA list, it does so in
an atomic context. Flushing isn't safe there, however, and
requires the RTNL, so we need to defer it to a workqueue.
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')
-rw-r--r-- | net/mac80211/sta_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 5e39a4164b9b..b09861eb124e 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -357,5 +357,7 @@ int sta_info_start(struct ieee80211_local *local); void sta_info_stop(struct ieee80211_local *local); int sta_info_flush(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata); +void sta_info_flush_delayed(struct ieee80211_sub_if_data *sdata); +void __ieee80211_run_pending_flush(struct ieee80211_local *local); #endif /* STA_INFO_H */ |