summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54.h
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-01-10 20:42:54 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 22:00:22 +0100
commitb6ea03562f04382776ad825624daefe27f5d3f9c (patch)
tree1fa0d8df1c011ae6ab693bcd4db6bc14a936a68a /drivers/net/wireless/p54/p54.h
parentath9k: Fix basic connectivity issue (diff)
downloadlinux-b6ea03562f04382776ad825624daefe27f5d3f9c.tar.xz
linux-b6ea03562f04382776ad825624daefe27f5d3f9c.zip
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>
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
0 files changed, 0 insertions, 0 deletions