From owner-svn-src-stable-10@freebsd.org Fri Mar 24 18:28:49 2017 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F888D1B6C7; Fri, 24 Mar 2017 18:28:49 +0000 (UTC) (envelope-from erj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C2BC1561; Fri, 24 Mar 2017 18:28:49 +0000 (UTC) (envelope-from erj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2OISmRL035823; Fri, 24 Mar 2017 18:28:48 GMT (envelope-from erj@FreeBSD.org) Received: (from erj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2OISmMo035822; Fri, 24 Mar 2017 18:28:48 GMT (envelope-from erj@FreeBSD.org) Message-Id: <201703241828.v2OISmMo035822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: erj set sender to erj@FreeBSD.org using -f From: Eric Joyner Date: Fri, 24 Mar 2017 18:28:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r315916 - stable/10/sys/dev/ixgbe X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 18:28:49 -0000 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 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);