Don't leak CCBs for every ABORT.

Submitted by:	Ken Merry
MFC after:	One week
This commit is contained in:
mjacob 2010-05-25 20:19:45 +00:00
parent f57b5cd0bc
commit fd1b90e890

View File

@ -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)