kernel-ark/drivers/net/ethernet/intel
Emil Tantilov e3215f0ac7 ixgbe: fix race when setting advertised speed
Following commands:

modprobe ixgbe
ifconfig ethX up
ethtool -s ethX advertise 0x020

can lead to "setup link failed with code -14" error due to the setup_link
call racing with the SFP detection routine in the watchdog.

This patch resolves this issue by protecting the setup_link call with check
for __IXGBE_IN_SFP_INIT.

Reported-by: Scott Harrison <scoharr2@cisco.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-10-30 05:12:07 -07:00
..
e1000 e1000: unset IFF_UNICAST_FLT on WMware 82545EM 2014-10-30 04:47:39 -07:00
e1000e e1000e: Fix TSO with non-accelerated vlans 2014-08-25 17:27:09 -07:00
fm10k fm10k: Add CONFIG_FM10K_VXLAN configuration option 2014-10-16 02:03:39 -07:00
i40e i40e: _MASK vs _SHIFT typo in i40e_handle_mdd_event() 2014-10-25 16:50:56 -04:00
i40evf Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-09-07 21:41:53 -07:00
igb igb: don't reuse pages with pfmemalloc flag 2014-10-30 04:56:52 -07:00
igbvf PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ixgb PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ixgbe ixgbe: fix race when setting advertised speed 2014-10-30 05:12:07 -07:00
ixgbevf ixgbevf: remove useless bd_number from struct ixgbevf_adapter 2014-09-18 02:59:27 -07:00
e100.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
Kconfig fm10k: Add CONFIG_FM10K_VXLAN configuration option 2014-10-16 02:03:39 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00