linux-uconsole/drivers/net/wireless
Nicolas Cavallari 2070216144 carl9170: Fix memory accounting when sta is in power-save mode.
commit 992d52529d upstream.

On Access Point mode, when transmitting a packet, if the destination
station is in powersave mode, we abort transmitting the packet to the
device queue, but we do not reclaim the allocated memory.  Given enough
packets, we can go in a state where there is no packet on the device
queue, but we think the device has no memory left, so no packet gets
transmitted, connections breaks and the AP stops working.

This undo the allocation done in the TX path when the station is in
power-save mode.

Signed-off-by: Nicolas Cavallari <cavallar@lri.fr>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-12 10:33:01 -07:00
..
ath carl9170: Fix memory accounting when sta is in power-save mode. 2012-03-12 10:33:01 -07:00
b43 b43: refuse to load unsupported firmware 2011-11-21 14:31:22 -08:00
b43legacy Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-16 19:32:19 -04:00
hostap net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-08-15 18:31:38 -07:00
ipw2x00 treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
iwlegacy iwlegacy: 3945: fix hw passive scan on radar channels 2012-01-25 17:25:06 -08:00
iwlwifi iwlagn: check for SMPS mode 2012-01-25 17:25:05 -08:00
iwmc3200wifi Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-24 16:47:54 -04:00
libertas Net, libertas: Resolve memory leak in if_spi_host_to_card() 2011-11-26 09:09:54 -08:00
libertas_tf
mwifiex mwifiex: Fixing NULL pointer dereference 2011-06-15 08:13:03 -04:00
orinoco pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
p54 p54spi: Fix workqueue deadlock 2011-12-09 08:52:29 -08:00
prism54
rt2x00 rt2800pci: fix spurious interrupts generation 2012-01-25 17:25:02 -08:00
rtl818x
rtlwifi rtl8192se: Fix BUG caused by failure to check skb allocation 2012-01-25 17:24:42 -08:00
wl12xx wl12xx: Check buffer bound when processing nvs data 2012-01-12 11:35:02 -08:00
wl1251
zd1211rw zd1211rw: fix to work on OHCI 2011-05-31 14:47:26 -04:00
adm8211.c
adm8211.h
airo.c net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-08-15 18:31:38 -07:00
airo.h
airo_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
atmel_pci.c
Kconfig
mac80211_hwsim.c net: call dev_alloc_name from register_netdevice 2011-05-05 10:57:45 -07:00
Makefile
mwl8k.c mwl8k: Tell firmware to generate CCMP header 2011-06-15 08:13:03 -04:00
ray_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c cfg80211: Use consistent BSS matching between scan and sme 2011-05-19 10:37:18 -04:00
wl3501.h
wl3501_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
zd1201.c
zd1201.h