android_kernel_xiaomi_sm8350/drivers/net/wireless/ath5k
Bob Copeland b6ea03562f 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-01-29 16:00:22 -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-01-29 16:00:22 -05:00
base.h
caps.c
debug.c net: constify VFTs 2009-01-21 14:03:37 -08:00
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 ath5k: More EEPROM code updates 2009-01-29 15:58:46 -05:00
eeprom.h
gpio.c ath5k: fix off-by-one in gpio checks 2009-01-29 15:59:45 -05:00
initvals.c
Kconfig
Makefile
pcu.c mac80211: 802.11w - Use BIP (AES-128-CMAC) 2009-01-29 16:00:03 -05:00
phy.c
qcu.c ath5k: Minor QCU updates 2009-01-29 15:59:53 -05:00
reg.h ath5k: Correct usage of AR5K_CFG_ADHOC 2009-01-12 14:24:56 -05:00
reset.c