mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Don't forget to release the adapter lock for a no-op.
This commit is contained in:
parent
8c019fbaa9
commit
3c0e59de3e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202863
@ -2074,6 +2074,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 New Issue
Block a user