summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-11-10 03:44:14 +0100
committerJohannes Berg <johannes.berg@intel.com>2012-11-10 21:26:28 +0100
commit1f98ab7fef48a2968f37f422c256c9fbd978c3f0 (patch)
tree69f0c49312c489063d02da10ac1f39490a585334 /net/mac80211/ieee80211_i.h
parent20f544eea03db4b498942558b882d463ce575c3e (diff)
downloadblackbird-op-linux-1f98ab7fef48a2968f37f422c256c9fbd978c3f0.tar.gz
blackbird-op-linux-1f98ab7fef48a2968f37f422c256c9fbd978c3f0.zip
mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge
Fixes more wifi status skb leaks, leading to hostapd/wpa_supplicant hangs. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: stable@vger.kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 8c804550465b..156e5835e37f 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1314,6 +1314,8 @@ netdev_tx_t ieee80211_monitor_start_xmit(struct sk_buff *skb,
struct net_device *dev);
netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
struct net_device *dev);
+void ieee80211_purge_tx_queue(struct ieee80211_hw *hw,
+ struct sk_buff_head *skbs);
/* HT */
void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata,
OpenPOWER on IntegriCloud