Re: [patch 5/5] drivers cris: return on NULL dev_alloc_skb()

2006-11-10 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: From: David Rientjes <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

[patch 5/5] drivers cris: return on NULL dev_alloc_skb()

2006-11-08 Thread akpm
From: David Rientjes <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> Signed-off-by: David Rientj