summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2009-08-21 18:20:45 +0200
committerDavid S. Miller <davem@davemloft.net>2009-08-23 02:48:47 +0200
commit6fefb65e78f098c09d0ab877b2c70421e4c84116 (patch)
tree2b85b62679ee60f56fed3e86f96a91a33cbb25dd /drivers/net/bnx2.h
parentbnx2: Check if_running() before touching chip registers. (diff)
downloadlinux-6fefb65e78f098c09d0ab877b2c70421e4c84116.tar.xz
linux-6fefb65e78f098c09d0ab877b2c70421e4c84116.zip
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>
Diffstat (limited to 'drivers/net/bnx2.h')
0 files changed, 0 insertions, 0 deletions