From fd1b90e890d4acaa91139d5635282fcd1406eeec Mon Sep 17 00:00:00 2001 From: mjacob Date: Tue, 25 May 2010 20:19:45 +0000 Subject: Don't leak CCBs for every ABORT. Submitted by: Ken Merry MFC after: One week --- sys/dev/isp/isp_freebsd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev/isp') diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index ff5c589..a991df6 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -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) -- cgit v1.1