svn commit: r278372 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Sun Feb 8 08:52:19 UTC 2015


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__));


More information about the svn-src-head mailing list