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-free...@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);
 
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to