Jesper Juhl
a50bb7b9af
[TG3]: Fix possible NULL deref in tg3_run_loopback().
...
tg3_run_loopback doesn't check that dev_alloc_skb() returns anything
useful.
Even if dev_alloc_skb() fails to return an skb to us we'll happily go
on and assume it did, so we risk dereferencing a NULL pointer. Much
better to fail gracefully by returning -ENOMEM than crashing here.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-05-09 23:14:35 -07:00
..
2006-04-09 11:53:16 -07:00
2006-03-28 09:16:07 -08:00
2006-05-06 17:55:11 -07:00
2006-04-28 21:04:55 +10:00
2006-03-31 17:26:33 +02:00
2006-04-11 06:18:46 -07:00
2006-05-01 18:17:47 -07:00
2006-05-08 09:34:56 -07:00
2006-03-25 08:22:53 -08:00
2006-05-03 20:05:41 -07:00
2006-03-25 08:23:01 -08:00
2006-04-14 11:41:25 -07:00
2006-04-14 11:18:33 -07:00
2006-04-20 07:54:04 -07:00
2006-04-19 09:13:53 -07:00
2006-04-02 12:58:09 -07:00
2006-05-01 12:14:23 -07:00
2006-05-04 14:52:43 -07:00
2006-04-22 09:19:52 -07:00
2006-04-11 06:18:40 -07:00
2006-04-21 22:34:26 +10:00
2006-05-01 18:17:42 -07:00
2006-04-27 21:10:34 +02:00
2006-04-14 09:35:12 -05:00
2006-03-28 09:16:06 -08:00
2006-05-04 18:22:51 +01:00
2006-04-11 06:18:43 -07:00
2006-05-09 23:14:35 -07:00
2006-03-28 09:16:05 -08:00
2006-04-21 22:20:33 +00:00
2006-04-19 09:13:52 -07:00
2006-04-27 13:00:51 -07:00
2006-04-28 08:33:46 -07:00
2006-04-19 09:13:52 -07:00
2006-05-06 11:29:21 +01:00
2006-05-01 18:17:46 -07:00
2006-04-29 14:27:13 -07:00
2006-05-04 15:09:52 -07:00
2006-05-03 20:05:41 -07:00
2006-03-31 17:26:33 +02:00
2006-04-27 10:28:59 -07:00
2006-05-08 09:10:44 -07:00
2006-03-25 08:22:53 -08:00
2006-04-21 10:59:00 -07:00
2006-04-02 12:51:22 -07:00