svn commit: r315916 - stable/10/sys/dev/ixgbe

Eric Joyner erj at FreeBSD.org
Fri Mar 24 18:28:49 UTC 2017


Author: erj
Date: Fri Mar 24 18:28:48 2017
New Revision: 315916
URL: https://svnweb.freebsd.org/changeset/base/315916

Log:
  ixgbe(4): Re-add mutex lock call that was dropped in a previous commit.
  
  PR:		218062
  Reported by:	Terry Kennedy <terry-freebsd at glaver.org>
  Sponsored by:	Intel Corporation

Modified:
  stable/10/sys/dev/ixgbe/if_ix.c

Modified: stable/10/sys/dev/ixgbe/if_ix.c
==============================================================================
--- stable/10/sys/dev/ixgbe/if_ix.c	Fri Mar 24 18:28:13 2017	(r315915)
+++ stable/10/sys/dev/ixgbe/if_ix.c	Fri Mar 24 18:28:48 2017	(r315916)
@@ -3929,6 +3929,7 @@ ixgbe_handle_msf(void *context, int pend
 	u32             autoneg;
 	bool            negotiate;
 
+	IXGBE_CORE_LOCK(adapter);
 	/* get_supported_phy_layer will call hw->phy.ops.identify_sfp() */
 	adapter->phy_layer = ixgbe_get_supported_physical_layer(hw);
 


More information about the svn-src-stable-10 mailing list