e1000e: fix close interrupt race
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 25 Mar 2009 22:05:41 +0000 (22:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2009 08:09:59 +0000 (01:09 -0700)
commita3c69fef7a7775b0bcfbb8249845a25598cfe951
tree1bed059e5df99f24dcb4479b3cc41cc0cc231708
parenta72d2b2cc63994cb8d592a004bf5331be6905814
e1000e: fix close interrupt race

As noticed by Alan Cox, it is possible for e1000e to exit its interrupt
handler or NAPI with interrupts enabled even when the driver is unloading or
being configured administratively down.

fix related to fix for: http://bugzilla.kernel.org/show_bug.cgi?id=12876

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c