summaryrefslogtreecommitdiff
path: root/Documentation/hwspinlock.txt
diff options
context:
space:
mode:
authorStefan Assmann <sassmann@kpanic.de>2016-02-03 11:20:50 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-02-25 02:54:39 +0300
commit46eafa59e18d034ba616fdcca688c388d0bbfd91 (patch)
tree8526c307774b1249b559a476c35b906354a8ff26 /Documentation/hwspinlock.txt
parent030f9f52642a20cbd8c1334a237e92e3ef55e2b1 (diff)
downloadlinux-46eafa59e18d034ba616fdcca688c388d0bbfd91.tar.xz
igb: call ndo_stop() instead of dev_close() when running offline selftest
Calling dev_close() causes IFF_UP to be cleared which will remove the interfaces routes and some addresses. That's probably not what the user intended when running the offline selftest. Besides this does not happen if the interface is brought down before the test, so the current behaviour is inconsistent. Instead call the net_device_ops ndo_stop function directly and avoid touching IFF_UP at all. Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'Documentation/hwspinlock.txt')
0 files changed, 0 insertions, 0 deletions