e1000: Prevent reset task killing itself.
authorTushar Dave <tushar.n.dave@intel.com>
Thu, 17 May 2012 01:04:50 +0000 (01:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2012 22:32:41 +0000 (18:32 -0400)
commit8ce6909f77ba1b7bcdea65cc2388fd1742b6d669
tree9eb8589a90009568961ebf1a0c78a29b7df90790
parentbad115cfe5b509043b684d3a007ab54b80090aa1
e1000: Prevent reset task killing itself.

Killing reset task while adapter is resetting causes deadlock.
Only kill reset task if adapter is not resetting.
Ref bug #43132 on bugzilla.kernel.org

CC: stable@vger.kernel.org
Signed-off-by: Tushar Dave <tushar.n.dave@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000/e1000_main.c