WSL2-Linux-Kernel/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
..
Kconfig ath5k: convert LED code to use mac80211 triggers 2008-06-27 09:09:17 -04:00
Makefile ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
ath5k.h ath5k: correct packet length in tx descriptors 2008-12-19 15:24:02 -05:00
attach.c ath5k: enable combined michael mic in key cache 2008-12-05 09:32:13 -05:00
base.c ath5k: fix bf->skb==NULL panic in ath5k_tasklet_rx 2009-02-11 11:27:16 -05:00
base.h ath5k: disable beacon filter when station is not associated 2008-11-25 16:13:08 -05:00
caps.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
debug.c ath5k: fix Security issue in DebugFS part of ath5k 2008-11-25 16:13:08 -05:00
debug.h ath5k: remove obsolete declaration of struct ieee80211_hw_mode 2008-08-01 15:31:33 -04:00
desc.c ath5k: correct packet length in tx descriptors 2008-12-19 15:24:02 -05:00
desc.h ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
dma.c fix similar typos to successfull 2009-01-08 08:31:15 -08:00
eeprom.c ath5k: Clean up eeprom parsing and add missing calibration data 2008-11-26 09:47:41 -05:00
eeprom.h ath5k: Clean up eeprom parsing and add missing calibration data 2008-11-26 09:47:41 -05:00
gpio.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
initvals.c ath5k: reduce checkpatch.pl errors 2008-10-31 19:00:40 -04:00
pcu.c ath5k: Correct usage of AR5K_CFG_ADHOC 2009-01-12 14:24:56 -05:00
phy.c ath5k: ignore the return value of ath5k_hw_noise_floor_calibration 2008-11-21 11:06:05 -05:00
qcu.c ath5k: Update interrupt masking code 2008-10-31 19:02:32 -04:00
reg.h ath5k: Correct usage of AR5K_CFG_ADHOC 2009-01-12 14:24:56 -05:00
reset.c ath5k: Clean up eeprom parsing and add missing calibration data 2008-11-26 09:47:41 -05:00