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

MFC after:	1 week
This commit is contained in:
np 2015-02-08 08:52:18 +00:00
parent dda106938e
commit c3605e4a62

View File

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