aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000
diff options
context:
space:
mode:
authorStefan Assmann <sassmann@kpanic.de>2016-02-03 09:20:52 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-06 14:05:24 -0700
commitd5ea45da1f04a3443710306e16db3b3aeae92918 (patch)
tree77f9eb1fff1dd25d76fcdf60e951eb10d3570d84 /drivers/net/ethernet/intel/e1000
parentigb: Garbled output for "ethtool -m" (diff)
downloadlinux-dev-d5ea45da1f04a3443710306e16db3b3aeae92918.tar.xz
linux-dev-d5ea45da1f04a3443710306e16db3b3aeae92918.zip
e1000e: 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 'drivers/net/ethernet/intel/e1000')
0 files changed, 0 insertions, 0 deletions