[PATCH] net s2io: return on NULL dev_alloc_skb()
authorDavid Rientjes <rientjes@cs.washington.edu>
Mon, 30 Oct 2006 22:19:25 +0000 (14:19 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 1 Nov 2006 01:22:06 +0000 (20:22 -0500)
commit2ceaac755423cb93c1bb2f59ebd1a06f027ac095
treeb453d54375166f142b2cbca436689f170f3f89f9
parent1e1675ccf758cbb4303ab052d58405cda6c745a7
[PATCH] net s2io: return on NULL dev_alloc_skb()

Checks for NULL dev_alloc_skb() and returns on true to avoid subsequent
dereference.

Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Christoph Hellwig <hch@infrared.org>
Signed-off-by: David Rientjes <rientjes@cs.washington.edu>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io.c