From: David Rientjes Date: Thu, 9 Nov 2006 03:49:15 +0000 (-0800) Subject: [PATCH] drivers cris: return on NULL dev_alloc_skb() X-Git-Tag: v2.6.19-rc6~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92b1f905637bbd79fcd430a09737fd97061eb405;p=pandora-kernel.git [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 Signed-off-by: David Rientjes Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed