https://github.com/torvalds/linux
Revision 92b1f905637bbd79fcd430a09737fd97061eb405 authored by David Rientjes on 09 November 2006, 03:49:15 UTC, committed by Jeff Garzik on 10 November 2006, 16:08:53 UTC
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>
1 parent ace48ff
History
Tip revision: 92b1f905637bbd79fcd430a09737fd97061eb405 authored by David Rientjes on 09 November 2006, 03:49:15 UTC
[PATCH] drivers cris: return on NULL dev_alloc_skb()
Tip revision: 92b1f90
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 542 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 73.8 KB
Makefile -rw-r--r-- 49.0 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top