netxen: Fix bug in Tx completion path.
authorManish Chopra <manish.chopra@qlogic.com>
Tue, 30 Sep 2014 07:56:36 +0000 (03:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2014 20:22:44 +0000 (16:22 -0400)
commit9295f940fb677b343980cd67f3c91a4eb48d2fae
tree23f47d40a2a16b4228ba7e10818b0d82ca78d169
parent0d36882013e61dc47aa835c4ec98b1fe776c9db8
netxen: Fix bug in Tx completion path.

o Driver is not updating sw_consumer while processing Tx completion
  when interface is going down. Due to this interface down path gets
  stuck forever waiting for NAPI to complete.

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c