commit | 6fefb65e78f098c09d0ab877b2c70421e4c84116 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Fri Aug 21 16:20:45 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 22 17:48:47 2009 -0700 |
tree | 2b85b62679ee60f56fed3e86f96a91a33cbb25dd | |
parent | 3767546cc24de8f104e745d59a0a43a09d9267df [diff] |
bnx2: Close device if MTU change or ring size change fails. When unable to allocate memory for new MTU or new ring size, we need to close the device to prevent it from crashing. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>