summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-02-27 12:18:31 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-09 15:20:45 +0300
commit3c8e0b989aa1afc01aa1b236b31b6c7628610c85 (patch)
treed94d8ba019d6b911c066c280821ed7457e937668 /net/switchdev/switchdev.c
parent1efc80eeee8c89188e78545c87a613e480aefd96 (diff)
downloadlinux-3c8e0b989aa1afc01aa1b236b31b6c7628610c85.tar.xz
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions