Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 08:52:18 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278372 - head/sys/dev/cxgbe
Message-ID:  <201502080852.t188qISg038926@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Sun Feb  8 08:52:18 2015
New Revision: 278372
URL: https://svnweb.freebsd.org/changeset/base/278372

Log:
  cxgbe(4): adapter_full_init is always a synchronized operation.
  
  MFC after:	1 week

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Sun Feb  8 08:42:45 2015	(r278371)
+++ head/sys/dev/cxgbe/t4_main.c	Sun Feb  8 08:52:18 2015	(r278372)
@@ -3432,6 +3432,7 @@ adapter_full_init(struct adapter *sc)
 {
 	int rc, i;
 
+	ASSERT_SYNCHRONIZED_OP(sc);
 	ADAPTER_LOCK_ASSERT_NOTOWNED(sc);
 	KASSERT((sc->flags & FULL_INIT_DONE) == 0,
 	    ("%s: FULL_INIT_DONE already", __func__));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502080852.t188qISg038926>