e1000: fix tx waking queue after queue stopped during shutdown
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 25 Sep 2009 12:18:07 +0000 (12:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Sep 2009 03:15:42 +0000 (20:15 -0700)
commitcdd7549e27bf5e8abc4e19d5e8d110b8252b4fe4
tree20682463abca2954c6a50ec1ac77971e989becc3
parentbe0f071956e2142e2e88e9d6d5655ba1c75d07c8
e1000: fix tx waking queue after queue stopped during shutdown

This fix closes a race where the adapter can be shutting down while
hard_start_xmit is being called and interrupts are being handled.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@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