diff options
author | 2009-12-18 20:29:04 -0800 | |
---|---|---|
committer | 2009-12-18 20:29:04 -0800 | |
commit | 4529819c45161e4a119134f56ef504e69420bc98 (patch) | |
tree | 92b1cefb34ff9693a2c611c41986ce56bf0ace99 /fs/jbd2/commit.c | |
parent | ipv6: fix an oops when force unload ipv6 module (diff) | |
download | wireguard-linux-4529819c45161e4a119134f56ef504e69420bc98.tar.xz wireguard-linux-4529819c45161e4a119134f56ef504e69420bc98.zip |
bnx2: reset_task is crashing the kernel. Fixing it.
If bnx2 schedules a reset via the reset_task, e.g., due to a TX
timeout, it's possible for the NIC to be disabled with packets
pending for transmit. In this case, napi_disable will loop forever,
eventually crashing the kernel. This patch moves the disable of
the device to after the napi_disable call.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions