Author: mjacob
Date: Tue May 25 20:19:45 2010
New Revision: 208548
URL: http://svn.freebsd.org/changeset/base/208548

Log:
  Don't leak CCBs for every ABORT.
  
  Submitted by: Ken Merry
  MFC after:    One 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 May 25 20:19:31 2010        
(r208547)
+++ head/sys/dev/isp/isp_freebsd.c      Tue May 25 20:19:45 2010        
(r208548)
@@ -4421,7 +4421,10 @@ isp_action(struct cam_sim *sim, union cc
                        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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to