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
..
2009-01-06 10:41:56 -08:00
2008-12-17 15:37:55 -08:00
2009-02-04 16:31:39 -08:00
2009-01-26 12:16:26 -08:00
2009-01-15 20:43:56 -08:00
2009-02-03 15:13:26 -08:00
2009-01-11 00:06:32 -08:00
2008-12-08 01:14:16 -08:00
2008-11-25 18:12:49 -08:00
2008-10-27 17:06:18 -07:00
2009-01-07 18:09:58 -08:00
2008-11-25 18:25:32 -08:00
2009-01-07 18:10:24 -08:00
2008-07-18 17:54:17 -07:00
2008-10-09 12:22:38 -07:00
2008-12-16 23:54:23 -08:00
2008-08-13 16:05:38 -07:00
2008-08-13 16:05:37 -07:00
2009-01-19 16:20:15 -08:00
2009-01-19 16:20:15 -08:00
2009-01-19 16:20:15 -08:00
2008-09-22 19:27:10 -07:00
2009-01-07 17:34:36 -08:00
2009-01-07 17:34:36 -08:00
2008-11-21 17:31:51 -08:00
2008-02-01 20:54:03 +11:00
2008-11-16 12:41:35 -08:00
2008-11-20 20:28:00 -08:00
2008-12-08 01:14:16 -08:00
2009-01-07 17:30:09 -08:00
2009-01-07 17:27:39 -08:00
2008-11-21 17:37:54 -08:00
2008-11-25 18:23:59 -08:00
2009-01-07 17:57:47 -08:00
2009-01-11 00:11:28 -08:00
2009-01-29 17:31:13 -08:00
2009-01-07 18:13:49 -08:00
2008-11-25 18:24:57 -08:00
2009-01-06 10:47:44 -08:00
2009-01-07 17:26:14 -08:00
2008-08-14 04:26:38 -04:00
2008-10-27 17:06:18 -07:00
2009-01-19 16:23:01 -08:00
2008-12-08 01:14:16 -08:00
2008-11-25 18:24:38 -08:00
2008-10-27 17:06:18 -07:00
2009-01-07 10:00:22 -08:00
2008-12-08 01:14:16 -08:00
2009-01-07 17:57:19 -08:00
2008-11-25 18:23:35 -08:00
2008-10-27 17:06:18 -07:00
2008-03-26 00:18:00 -04:00
2008-03-05 16:34:41 -06:00
2008-12-08 01:14:16 -08:00
2009-01-07 17:26:48 -08:00
2008-12-25 18:03:28 -08:00
2008-01-28 15:11:27 -08:00
2008-12-16 01:23:49 -08:00
2008-10-17 02:38:35 +11:00
2008-10-27 17:06:18 -07:00
2008-11-10 15:11:56 -05:00
2009-01-07 17:56:54 -08:00
2008-08-07 02:20:57 -04:00
2009-01-07 17:35:41 -08:00
2008-08-07 01:55:50 -04:00
2008-01-28 15:11:27 -08:00
2009-01-07 18:09:36 -08:00
2008-10-27 17:06:18 -07:00
2009-01-29 17:30:00 -08:00
2008-04-16 20:06:50 -04:00
2009-01-07 17:58:17 -08:00
2008-11-25 18:25:49 -08:00
2008-12-08 01:14:16 -08:00
2008-12-08 01:14:16 -08:00
2008-08-29 02:13:33 -07:00
2009-01-07 17:58:43 -08:00
2008-01-28 15:07:10 -08:00
2008-08-29 02:14:29 -07:00
2009-02-02 21:39:02 -08:00
2008-08-29 02:14:43 -07:00
2009-01-19 16:57:45 -08:00
2009-01-19 16:57:45 -08:00
2009-01-07 17:27:15 -08:00
2008-05-30 22:18:02 -04:00
2009-02-08 17:49:17 -08:00
2009-01-07 17:29:46 -08:00
2009-01-20 14:44:01 -08:00
2009-01-11 00:06:36 -08:00
2008-10-27 17:06:18 -07:00