diff options
author | David Rientjes <rientjes@cs.washington.edu> | 2006-11-08 19:49:15 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-11-10 11:08:53 -0500 |
commit | 92b1f905637bbd79fcd430a09737fd97061eb405 (patch) | |
tree | 93ef60a2e6977d206462d14901d13c1cbf0f4a9b /drivers/block | |
parent | ace48ffb5d6c927c5a98048d93543e1cae0eebd0 (diff) | |
download | linux-stable-92b1f905637bbd79fcd430a09737fd97061eb405.tar.gz linux-stable-92b1f905637bbd79fcd430a09737fd97061eb405.tar.bz2 linux-stable-92b1f905637bbd79fcd430a09737fd97061eb405.zip |
[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>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions