Re: [PATCH (resend)]: SCSI: fix /proc memory leak in the SCSI core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Feb 2009, Tony Battersby wrote:

> I tested Alan's original patch with sym53c8xx back in January:
> 
> http://marc.info/?l=linux-scsi&m=123143710010939&w=4
> 
> Tested-by: Tony Battersby <tonyb@xxxxxxxxxxxxxxx>

Thanks for the support.  I must have missed your post when it appeared
last month.

In fact, I don't care which approach gets accepted: James's or my own.  
His has the advantage of being somewhat shorter and not changing the
order of events during host creation.

On the other hand, James, your suggested patch is definitely wrong,
for a trivial reason.  You moved the scsi_proc_hostdir_rm() call into
scsi_host_put() instead of scsi_host_dev_release(), where it belongs.
I'll post a corrected version shortly.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux