lkml.org 
[lkml]   [2002]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.26 : drivers/scsi/BusLogic.c
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

# 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);
}

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.064 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site