svn commit: r247356 - head/sys/dev/isp
Matt Jacob
mjacob at FreeBSD.org
Tue Feb 26 21:37:13 UTC 2013
Author: mjacob
Date: Tue Feb 26 21:37:12 2013
New Revision: 247356
URL: http://svnweb.freebsd.org/changeset/base/247356
Log:
Remove redundant xpt_alloc_ccb in isp_target_thread that was causing leakage.
Pointed out by: Sascha Wildner of DragonFly BSD
MFC after: 1 week
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
==============================================================================
--- head/sys/dev/isp/isp_freebsd.c Tue Feb 26 21:25:17 2013 (r247355)
+++ head/sys/dev/isp/isp_freebsd.c Tue Feb 26 21:37:12 2013 (r247356)
@@ -4140,8 +4140,6 @@ isp_target_thread(ispsoftc_t *isp, int c
return;
}
- ccb = xpt_alloc_ccb();
-
ISP_LOCK(isp);
status = cam_periph_alloc(isptargctor, NULL, isptargdtor, isptargstart, "isptarg", CAM_PERIPH_BIO, wpath, NULL, 0, softc);
if (status != CAM_REQ_CMP) {
More information about the svn-src-all
mailing list