Files
android_kernel_xiaomi_sm8450/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
..
2008-09-05 16:15:24 -04:00
2009-01-21 14:03:37 -08:00
2008-09-05 16:15:24 -04:00
2009-01-08 08:31:15 -08:00
2009-01-29 15:58:46 -05:00
2009-01-29 15:59:45 -05:00
2008-10-31 19:00:40 -04:00
2008-09-05 16:15:24 -04:00
2009-01-29 15:59:53 -05:00
2009-01-12 14:24:56 -05:00