e1000e: prevent oops when adapter is being closed and reset simultaneously
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 21 Mar 2012 00:39:12 +0000 (00:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Apr 2012 22:25:08 +0000 (15:25 -0700)
When the adapter is closed while it is simultaneously going through a
reset, it can cause a null-pointer dereference when the two different code
paths simultaneously cleanup up the Tx/Rx resources.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

No differences found