mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Amazingly we've been freeing a handle and using that which it refers to
for years. Bad! MFC after: 1 week
This commit is contained in:
parent
b5212e27ec
commit
78a235dd3f
1 changed files with 1 additions and 1 deletions
|
|
@ -5185,7 +5185,6 @@ again:
|
|||
ISP_WRITE(isp, isp->isp_respoutrp, optr);
|
||||
continue;
|
||||
}
|
||||
isp_destroy_handle(isp, sp->req_handle);
|
||||
if (req_status_flags & RQSTF_BUS_RESET) {
|
||||
XS_SETERR(xs, HBA_BUSRESET);
|
||||
ISP_SET_SENDMARKER(isp, XS_CHANNEL(xs), 1);
|
||||
|
|
@ -5321,6 +5320,7 @@ again:
|
|||
if (XS_XFRLEN(xs)) {
|
||||
ISP_DMAFREE(isp, xs, sp->req_handle);
|
||||
}
|
||||
isp_destroy_handle(isp, sp->req_handle);
|
||||
|
||||
if (((isp->isp_dblev & (ISP_LOGDEBUG1|ISP_LOGDEBUG2|ISP_LOGDEBUG3))) ||
|
||||
((isp->isp_dblev & ISP_LOGDEBUG0) && ((!XS_NOERR(xs)) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue