]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: use ieee80211_free_txskb in a few more places
authorFelix Fietkau <nbd@openwrt.org>
Wed, 10 Oct 2012 20:40:23 +0000 (22:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:20 +0000 (10:10 -0700)
commitcbc71967da7f3643d668a28b26d830e672891ab0
tree1a9e76dba85d3eeb5050cea18fa9158e3e91701b
parent8f645c50b625f912ee7e62687cd88c468f92ac64
mac80211: use ieee80211_free_txskb in a few more places

commit d4fa14cd62bd078c8e3ef39283b9f237e5b2ff0f upstream.

Free tx status skbs when draining power save buffers, pending frames, or
when tearing down a vif.
Fixes remaining conditions that can lead to hostapd/wpa_supplicant hangs when
running out of socket write memory.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/iface.c
net/mac80211/sta_info.c
net/mac80211/util.c