commit | 06c878500893c315795fcf944ecbd85c3d023040 | [log] [tgz] |
---|---|---|
author | Don Fry <brazilnut@us.ibm.com> | Thu Jun 29 13:54:38 2006 -0700 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Jul 05 14:07:15 2006 -0400 |
tree | 3d1d35bc8ab6238ace77c0e17ed1098fc58c50a2 | |
parent | 12fa30f35b52e85b4c37a2ef3c3320c158d510fa [diff] |
[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>