]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: fix close race with interrupt
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 25 Mar 2009 21:59:22 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2009 08:00:55 +0000 (01:00 -0700)
commit59f9be714d746622078bb948887a07e6a86fc438
tree1f3a9a036b41edb32ee00cf6c0a972dfad80b18f
parentaa67f31a334b5f4edfcae82cc0217282ba2e6dd4
e1000: fix close race with interrupt

this is in regards to
http://bugzilla.kernel.org/show_bug.cgi?id=12876

where it appears that e1000 can leave its interrupt enabled after
exiting the driver.  Fix the bug by making the interrupt enable
paths more aware of the driver exiting.

Thanks to Alan Cox for the poke and initial investigation.

CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
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