Don't leak CCBs for every ABORT.
Submitted by: Ken Merry MFC after: One week
This commit is contained in:
parent
f57b5cd0bc
commit
fd1b90e890
@ -4421,7 +4421,10 @@ isp_action(struct cam_sim *sim, union ccb *ccb)
|
||||
ccb->ccb_h.status = CAM_REQ_INVALID;
|
||||
break;
|
||||
}
|
||||
xpt_done(ccb);
|
||||
/*
|
||||
* This is not a queued CCB, so the caller expects it to be
|
||||
* complete when control is returned.
|
||||
*/
|
||||
break;
|
||||
}
|
||||
#define IS_CURRENT_SETTINGS(c) (c->type == CTS_TYPE_CURRENT_SETTINGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user