kernel-ark/drivers/net/wireless/ath5k
Bob Copeland fcf6b1bca8 ath5k: fix bf->skb==NULL panic in ath5k_tasklet_rx
Under memory pressure, we may not be able to allocate a new skb for
new packets.  If the allocation fails, ath5k_tasklet_rx will exit but
will leave a buffer in the list with a NULL skb, eventually triggering
a BUG_ON.

Extract the skb allocation from ath5k_rxbuf_setup() and change the
tasklet to allocate the next skb before accepting a packet.

Changes-licensed-under: 3-Clause-BSD

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-11 11:27:16 -05:00
..
ath5k.h ath5k: correct packet length in tx descriptors 2008-12-19 15:24:02 -05:00
attach.c
base.c ath5k: fix bf->skb==NULL panic in ath5k_tasklet_rx 2009-02-11 11:27:16 -05:00
base.h
caps.c
debug.c
debug.h
desc.c ath5k: correct packet length in tx descriptors 2008-12-19 15:24:02 -05:00
desc.h
dma.c fix similar typos to successfull 2009-01-08 08:31:15 -08:00
eeprom.c
eeprom.h
gpio.c
initvals.c
Kconfig
Makefile
pcu.c ath5k: Correct usage of AR5K_CFG_ADHOC 2009-01-12 14:24:56 -05:00
phy.c
qcu.c
reg.h ath5k: Correct usage of AR5K_CFG_ADHOC 2009-01-12 14:24:56 -05:00
reset.c