mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge
authorFelix Fietkau <nbd@openwrt.org>
Sat, 10 Nov 2012 02:44:14 +0000 (03:44 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 10 Nov 2012 20:26:28 +0000 (21:26 +0100)
commit1f98ab7fef48a2968f37f422c256c9fbd978c3f0
tree69f0c49312c489063d02da10ac1f39490a585334
parent20f544eea03db4b498942558b882d463ce575c3e
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>
net/mac80211/ieee80211_i.h
net/mac80211/sta_info.c
net/mac80211/status.c
net/mac80211/tx.c