aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2006-11-08 19:49:15 -0800
committerJeff Garzik <[email protected]>2006-11-10 11:08:53 -0500
commit92b1f905637bbd79fcd430a09737fd97061eb405 (patch)
tree93ef60a2e6977d206462d14901d13c1cbf0f4a9b /include/linux
parentace48ffb5d6c927c5a98048d93543e1cae0eebd0 (diff)
[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 <[email protected]> Signed-off-by: David Rientjes <[email protected]> Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions