diff options
author | Don Fry <brazilnut@us.ibm.com> | 2006-06-29 13:54:38 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-05 14:07:15 -0400 |
commit | 06c878500893c315795fcf944ecbd85c3d023040 (patch) | |
tree | 3d1d35bc8ab6238ace77c0e17ed1098fc58c50a2 /drivers/pcmcia/au1000_xxs1500.c | |
parent | 12fa30f35b52e85b4c37a2ef3c3320c158d510fa (diff) | |
download | blackbird-op-linux-06c878500893c315795fcf944ecbd85c3d023040.tar.gz blackbird-op-linux-06c878500893c315795fcf944ecbd85c3d023040.zip |
[PATCH] pcnet32: Handle memory allocation failures cleanly when resizing tx/rx rings
Fix pcnet32_set_ringparam to handle memory allocation errors without
leaving the adapter in an inoperative state and null pointers waiting to
be dereferenced.
Tested ia32 and ppc64.
Signed-off-by: Don Fry <brazilnut@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/pcmcia/au1000_xxs1500.c')
0 files changed, 0 insertions, 0 deletions