mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add a missing mutex unlock to an error path.
Submitted by: Yuxiang Luo PR: 107943
This commit is contained in:
parent
f240e019cd
commit
df8ed58dc5
1 changed files with 1 additions and 0 deletions
|
|
@ -586,6 +586,7 @@ aac_cam_reset_bus(struct cam_sim *sim, union ccb *ccb)
|
|||
device_printf(sc->aac_dev,"Error %d sending ResetBus command\n",
|
||||
e);
|
||||
aac_release_sync_fib(sc);
|
||||
mtx_unlock(&sc->aac_io_lock);
|
||||
return (CAM_REQ_ABORTED);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue