linux/drivers/net/ethernet/intel
Jan Beulich be06998f96 igb: fix NULL derefs due to skipped SR-IOV enabling
The combined effect of commits 6423fc3416 ("igb: do not re-init SR-IOV
during probe") and ceee3450b3 ("igb: make sure SR-IOV init uses the
right number of queues") causes VFs no longer getting set up, leading
to NULL pointer dereferences due to the adapter's ->vf_data being NULL
while ->vfs_allocated_count is non-zero. The first commit not only
neglected the side effect of igb_sriov_reinit() that the second commit
tried to account for, but also that of setting IGB_FLAG_HAS_MSIX,
without which igb_enable_sriov() is effectively a no-op. Calling
igb_{,re}set_interrupt_capability() as done here seems to address this,
but I'm not sure whether this is better than sinply reverting the other
two commits.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-12-12 23:19:37 -08:00
..
e1000 e1000: Elementary checkpatch warnings and checks removed 2015-12-12 23:13:52 -08:00
e1000e e1000e: Increase timeout of polling bit RSPCIPHY 2015-12-12 23:14:32 -08:00
fm10k fm10k: TRIVIAL cleanup order at top of fm10k_xmit_frame 2015-12-05 23:55:24 -08:00
i40e Revert "i40e: remove CONFIG_I40E_VXLAN" 2015-12-06 11:23:30 -05:00
i40evf i40e: trivial fixes 2015-12-03 02:23:39 -08:00
igb igb: fix NULL derefs due to skipped SR-IOV enabling 2015-12-12 23:19:37 -08:00
igbvf drivers/net/intel: use napi_complete_done() 2015-10-16 04:33:46 -07:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe ixgbe: do not report 2.5 Gbps as supported 2015-12-12 02:39:02 -08:00
ixgbevf ixgbevf: Handle extended IPv6 headers in Tx path 2015-12-03 02:45:14 -08:00
Kconfig Revert "i40e: remove CONFIG_I40E_VXLAN" 2015-12-06 11:23:30 -05:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00