From: Alexander Duyck Date: Mon, 14 Sep 2009 08:23:13 +0000 (+0000) Subject: igb: do not allow phy sw reset code to make calls to null pointers X-Git-Tag: v2.6.32-rc1~657^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d314737ad3bad6b4603b243fd6db572385259690;p=pandora-kernel.git 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 Signed-off-by: Don Skidmore Signed-off-by: David S. Miller --- Reading git-diff-tree failed