diff options
author | 2008-11-21 21:30:24 -0800 | |
---|---|---|
committer | 2008-11-21 21:30:24 -0800 | |
commit | f5f4cf08467db10de061a1b90037a56a360d3554 (patch) | |
tree | f590f5a39dca1a57012f5eb62302ca56b7d3e27a /net/unix/af_unix.c | |
parent | enic: misc cleanup items: (diff) | |
download | wireguard-linux-f5f4cf08467db10de061a1b90037a56a360d3554.tar.xz wireguard-linux-f5f4cf08467db10de061a1b90037a56a360d3554.zip |
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/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions