]> git.baikalelectronics.ru Git - 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)
commitf0c36312996c739e5aa9b48859334948ef10aa5f
tree2a858a2b0cf87c135bfd1338f2edcd71ad8f6ad3
parent42c5a8b2d2d247cfbe2eb939c19d15ede59a5f0c
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