diff options
author | Andy Gospodarek <andy@greyhouse.net> | 2011-02-17 12:13:13 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-02-17 12:13:13 +0300 |
commit | 4c7e604babd15db9dca3b07de167a0f93fe23bf4 (patch) | |
tree | 7bd44f17d5760d938bdd6802c8c3be64f9264749 /fs/anon_inodes.c | |
parent | 713b3c9e4c1a6da6b45da6474ed554ed0a48de69 (diff) | |
download | linux-4c7e604babd15db9dca3b07de167a0f93fe23bf4.tar.xz |
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 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions