forked from Minki/linux
fcf6b1bca8
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> |
||
---|---|---|
.. | ||
ath5k.h | ||
attach.c | ||
base.c | ||
base.h | ||
caps.c | ||
debug.c | ||
debug.h | ||
desc.c | ||
desc.h | ||
dma.c | ||
eeprom.c | ||
eeprom.h | ||
gpio.c | ||
initvals.c | ||
Kconfig | ||
Makefile | ||
pcu.c | ||
phy.c | ||
qcu.c | ||
reg.h | ||
reset.c |