diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-11-22 08:30:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-22 08:30:24 +0300 |
commit | f5f4cf08467db10de061a1b90037a56a360d3554 (patch) | |
tree | f590f5a39dca1a57012f5eb62302ca56b7d3e27a /net | |
parent | 21fc578dcaa66dd30bad3c2f2cd7578e2865e8f2 (diff) | |
download | linux-f5f4cf08467db10de061a1b90037a56a360d3554.tar.xz |
igb: do not use phy ops in ethtool test cleanup for non-copper parts
Currently the igb driver is experiencing a panic due to a null function
pointer being used during the cleanup of the ethtool looback test on
fiber/serdes parts. This patch prevents that and adds a check prior to
calling any phy function.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions