diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-09-14 10:23:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-15 02:03:54 +0200 |
commit | d314737ad3bad6b4603b243fd6db572385259690 (patch) | |
tree | aeb1403dff45df771e0c83bad4e7d8c6b8164e50 /net/ipv4 | |
parent | igb: reset sgmii phy at start of init (diff) | |
download | linux-d314737ad3bad6b4603b243fd6db572385259690.tar.xz linux-d314737ad3bad6b4603b243fd6db572385259690.zip |
igb: do not allow phy sw reset code to make calls to null pointers
In the case of fiber and serdes adapters we were seeing issues with ethtool
-t causing kernel panics due to null function pointers. To prevent this we
need to exit out of the phy reset code in the event that we do not have a
valid phy.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions