Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 04:56:18 GMT
From:      Scott Long <scottl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 116813 for review
Message-ID:  <200703290456.l2T4uIlE051505@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=116813

Change 116813 by scottl@scottl-x64 on 2007/03/29 04:55:27

	Use xpt_alloc_ccb_nowait() to avoid malloc problems.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_pass.c#21 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_pass.c#21 (text+ko) ====

@@ -490,7 +490,7 @@
 						inccb->ccb_h.pinfo.priority);
 			ccb_malloced = 0;
 		} else {
-			ccb = xpt_alloc_ccb(periph->sim);
+			ccb = xpt_alloc_ccb_nowait(periph->sim);
 
 			if (ccb != NULL)
 				xpt_setup_ccb(&ccb->ccb_h, periph->path,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703290456.l2T4uIlE051505>