summaryrefslogtreecommitdiff
path: root/drivers/net/ixgbe/ixgbe_fcoe.h
diff options
context:
space:
mode:
authorAndy Gospodarek <andy@greyhouse.net>2011-02-17 01:13:13 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-17 01:13:13 -0800
commit4c7e604babd15db9dca3b07de167a0f93fe23bf4 (patch)
tree7bd44f17d5760d938bdd6802c8c3be64f9264749 /drivers/net/ixgbe/ixgbe_fcoe.h
parent713b3c9e4c1a6da6b45da6474ed554ed0a48de69 (diff)
ixgbe: fix panic due to uninitialised pointer
Systems containing an 82599EB and running a backported driver from upstream were panicing on boot. It turns out hw->mac.ops.setup_sfp is only set for 82599, so one should check to be sure that pointer is set before continuing in ixgbe_sfp_config_module_task. I verified by inspection that the upstream driver has the same issue and also added a check before the call in ixgbe_sfp_link_config. Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_fcoe.h')
0 files changed, 0 insertions, 0 deletions