There was a bug in the patch I sent through last. This patch should be
applied on top of the last one to solve a memory leak on unloading of the
module.
-- Doug Ledford <dledford@redhat.com> 919-754-3700 x44233 Red Hat, Inc. 1801 Varsity Dr. Raleigh, NC 27606--L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="BusLogic-2.patch"
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.740 -> 1.741 # drivers/scsi/BusLogic.c 1.7 -> 1.8 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/07/18 dledford@perf50.perf.redhat.com 1.741 # BusLogic.c: # DMA Mapping API update, part 2 # -------------------------------------------- # diff -Nru a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c --- a/drivers/scsi/BusLogic.c Thu Jul 18 21:18:46 2002 +++ b/drivers/scsi/BusLogic.c Thu Jul 18 21:18:46 2002 @@ -300,6 +300,10 @@ Last_CCB = CCB; } } + if (Last_CCB) + pci_free_consistent(HostAdapter->PCI_Device, + Last_CCB->AllocationGroupSize, Last_CCB, + Last_CCB->AllocationGroupHead); }
--L6iaP+gRLNZHKoI4-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/