]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ixgbe: Additional adapter removal checks
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 15 Jan 2014 02:53:17 +0000 (18:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:59:17 +0000 (18:59 -0800)
commitb0483c8f363c7ab1e8c19ac4578bec91c8e5aea2
tree2a858a2b0cf87c135bfd1338f2edcd71ad8f6ad3
parentb12babd4d0a83d9bae214e4c056711a279acad26
ixgbe: Additional adapter removal checks

Additional checks are needed for a detected removal not to cause
problems. Some involve simply avoiding a lot of stuff that can't
do anything good, and also cases where the phony return value can
cause problems. In addition, down the adapter when the removal is
sensed.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c