OpenCloudOS-Kernel/drivers/net/cris
David Rientjes 92b1f90563 [PATCH] drivers cris: return on NULL dev_alloc_skb()
If the next descriptor array entry cannot be allocated by dev_alloc_skb(),
return immediately so it is not dereferenced later.  We cannot register the
device with a partial descriptor list.

Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: David Rientjes <rientjes@cs.washington.edu>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-11-10 11:08:53 -05:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eth_v10.c [PATCH] drivers cris: return on NULL dev_alloc_skb() 2006-11-10 11:08:53 -05:00