mirror of
https://github.com/opnsense/src.git
synced 2026-03-26 04:33:12 -04:00
MFC r202863
Don't forget to release the adapter lock for a no-op.
This commit is contained in:
parent
5a183eb8e4
commit
c78cb5e4f1
1 changed files with 2 additions and 0 deletions
|
|
@ -2078,6 +2078,8 @@ fail:
|
|||
p->if_flags = ifp->if_flags;
|
||||
} else if (ifp->if_drv_flags & IFF_DRV_RUNNING)
|
||||
error = cxgb_uninit_locked(p);
|
||||
else
|
||||
ADAPTER_UNLOCK(sc);
|
||||
|
||||
ADAPTER_LOCK_ASSERT_NOTOWNED(sc);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue