[BNX2]: check return of dev_alloc_skb in bnx2_test_loopback
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Nov 2005 20:58:00 +0000 (12:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2005 20:58:00 +0000 (12:58 -0800)
commitb6cbc3b6fe588c0ea1341d10413e12c2a96a6032
treea7d21d29e55f7ce6fd68f32884c1bbdb93eadda9
parent2f23c523f32324e5b5f39565cbcb0a8ff8923019
[BNX2]: check return of dev_alloc_skb in bnx2_test_loopback

Check return of dev_alloc_skb in bnx2_test_loopback, and handle
appropriately.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c