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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:37:41 +0000 (11:37 -0800)
commitbb1d6871282e191752d4d8396808ed25ac3500fb
tree6ff5cff5202b88b9a650f2d8f87d65396f771199
parentab4e547760de676be22d61c5d73230356b383a31
mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge

commit 1f98ab7fef48a2968f37f422c256c9fbd978c3f0 upstream.

Fixes more wifi status skb leaks, leading to hostapd/wpa_supplicant hangs.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/ieee80211_i.h
net/mac80211/sta_info.c
net/mac80211/status.c
net/mac80211/tx.c