aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorEmil Tantilov <[email protected]>2014-10-28 05:50:03 +0000
committerJeff Kirsher <[email protected]>2014-10-30 05:12:07 -0700
commite3215f0ac77ec23b052cb0bf511143038ac2ad7b (patch)
treee18762fba9a392f3127eaadc7a8200b2e5fdbeec /lib/dynamic_debug.c
parent4d2fcfbcf8141cdf70245a0c0612b8076f4b7e32 (diff)
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 <[email protected]> Signed-off-by: Emil Tantilov <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions