Re: RFC: kernel memory leak fix for af_unix datagram getpeersec

2006-07-27 Thread Xiaolan Zhang
Hi, Catalin and Michal, Many thanks for your help in fnding and testing the patch! Catherine "Catalin Marinas" <[EMAIL PROTECTED]> wrote on 07/27/2006 05:00:23 AM: > On 26/07/06, Catherine Zhang <[EMAIL PROTECTED]> wrote: > > Enclosed please find the new fix for the memory leak problem, incor

Re: RFC: kernel memory leak fix for af_unix datagram getpeersec

2006-07-27 Thread Catalin Marinas
On 26/07/06, Catherine Zhang <[EMAIL PROTECTED]> wrote: Enclosed please find the new fix for the memory leak problem, incorporating suggestions from Stephen and James. FYI, Michal confirmed that, with this patch, kmemleak no longer reports leaks in the context_struct_to_string() function in sec

Re: RFC: kernel memory leak fix for af_unix datagram getpeersec

2006-07-26 Thread David Miller
From: Stephen Smalley <[EMAIL PROTECTED]> Date: Wed, 26 Jul 2006 16:50:40 -0400 > > diff -puN net/unix/af_unix.c~af_unix-datagram-getpeersec-ml-fix > > net/unix/af_unix.c > > --- linux-2.6.18-rc2/net/unix/af_unix.c~af_unix-datagram-getpeersec-ml-fix > > 2006-07-22 23:01:26.0 -0400 > > +

Re: RFC: kernel memory leak fix for af_unix datagram getpeersec

2006-07-26 Thread Stephen Smalley
On Wed, 2006-07-26 at 16:19 -0400, Catherine Zhang wrote: > diff -puN include/net/scm.h~af_unix-datagram-getpeersec-ml-fix > include/net/scm.h > --- linux-2.6.18-rc2/include/net/scm.h~af_unix-datagram-getpeersec-ml-fix > 2006-07-22 21:28:21.0 -0400 > +++ linux-2.6.18-rc2-cxzhang/inclu

RFC: kernel memory leak fix for af_unix datagram getpeersec

2006-07-26 Thread Catherine Zhang
Hi, all, Enclosed please find the new fix for the memory leak problem, incorporating suggestions from Stephen and James. thanks all for your help! Catherine -- From: [EMAIL PROTECTED] This patch implements a cleaner fix for the memory leak problem of the original unix datagram getpeersec pat