svn commit: r281250 - stable/10/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Wed Apr 8 01:09:38 UTC 2015


Author: np
Date: Wed Apr  8 01:09:36 2015
New Revision: 281250
URL: https://svnweb.freebsd.org/changeset/base/281250

Log:
  MFC r278372:
  
  cxgbe(4): adapter_full_init is always a synchronized operation.

Modified:
  stable/10/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_main.c	Wed Apr  8 01:07:51 2015	(r281249)
+++ stable/10/sys/dev/cxgbe/t4_main.c	Wed Apr  8 01:09:36 2015	(r281250)
@@ -3317,6 +3317,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-all mailing list