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>
This commit is contained in:
committed by
John W. Linville
parent
4f6fab472c
commit
dc6676b7f2
@@ -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 */
|
||||
|
Reference in New Issue
Block a user