]> git.baikalelectronics.ru Git - kernel.git/commit
i40vf: don't stop me now
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 27 Feb 2015 09:18:31 +0000 (09:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Mar 2015 12:20:45 +0000 (05:20 -0700)
commit5a4e2b3785b7b21155ec72f5144530694075871d
treed94d8ba019d6b911c066c280821ed7457e937668
parentecbb07fa8fd62e4fe451908e2d1b020f3b79c35d
i40vf: don't stop me now

If a reset occurs when the netdev is closed, the reset task will hang in
napi_disable, causing deadlocks and general grumpiness.

Check to make sure the device is actually running before stopping
everything. This allows the reset task to complete and have a real good
time.

Change-ID: Iaaea84acbcb9b3810c216b14c3326e4287b75b58
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c