e1000: fix screaming IRQ
authorAnupam Chanda <anupamc@vmware.com>
Sun, 21 Nov 2010 17:54:21 +0000 (09:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Nov 2010 17:54:21 +0000 (09:54 -0800)
commitab08853fab2093e5c6f5de56827a4c93dce4b055
tree55cdfb6754dd36cb7b7884eda308b49f59246d9b
parent0302b8622ce696af1cda22fcf207d3793350e896
e1000: fix screaming IRQ

VMWare reports that the e1000 driver has a bug when bringing down the
interface, such that interrupts are not disabled in the hardware but the
driver stops reporting that it consumed the interrupt.

The fix is to set the driver's "down" flag later in the routine,
after all the timers and such have exited, preventing the interrupt
handler from being called and exiting early without handling the
interrupt.

CC: Anupam Chanda <anupamc@vmware.com>
CC: stable kernel <stable@kernel.org>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c