commit | 0edd2bdf63b10d0b6715f2fc4a9e598d6b8ca58f | [log] [tgz] |
---|---|---|
author | Mark Rustad <mark.d.rustad@intel.com> | Fri Feb 28 15:48:56 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 02 19:06:43 2014 -0500 |
tree | 5a521ab466d180a93d351f9293fcd84a79493f60 | |
parent | 0391bbe3e4ca653d1b5e4d453e9a0a049726d0e6 [diff] |
ixgbe: Fix up some ethtool results when adapter is removed Some ethtool tests returned apparently good results when the adapter was in a removed state. Fix that by checking for removal. This also fixes two paths that could return uninitialized memory in data[4]. 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>