mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Yichen Xie <yxie@cs.stanford.edu>,
	linux-kernel@vger.kernel.org, netdev@oss.sgi.com,
	"David S. Miller" <davem@davemloft.net>,
	kaber@trash.net
Subject: Re: memory leak in net/sched/ipt.c?
Date: 23 Mar 2005 07:40:18 -0500	[thread overview]
Message-ID: <1111581618.1088.72.camel@jzny.localdomain> (raw)
In-Reply-To: <E1DE44X-0001QM-00@gondolin.me.apana.org.au>

On Wed, 2005-03-23 at 06:30, Herbert Xu wrote:
> Yichen Xie <yxie@cs.stanford.edu> wrote:
> > Is the memory block allocated on line 315 leaked every time tcp_ipt_dump 
> > is called?
> 
> It seems to be.  This patch should free it.
> 
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
> 
> BTW, please report networking bugs to netdev@oss.sgi.com.
> 

Thanks for pointing this out - I _know_ its in the kernel list FAQ.
I was sitting beside R Gooch when he added "thou shalt post to netdev".
And of course i am gonna bitch about it every time someone doesnt
post to netdev;-> 

Just a small correction to patchlet:
The second kfree should check for existence of t.

cheers,
jamal

> Thanks,


  reply	other threads:[~2005-03-23 12:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-23  8:13 Yichen Xie
2005-03-23  8:48 ` Jan Engelhardt
2005-03-23 11:30 ` Herbert Xu
2005-03-23 12:40   ` jamal [this message]
2005-03-23 12:55     ` Thomas Graf
2005-03-23 13:11       ` jamal
2005-03-23 13:23         ` Thomas Graf
2005-03-23 13:32           ` jamal
2005-03-23 13:40         ` Jan Engelhardt
2005-03-23 14:05           ` jamal
2005-03-23 14:12             ` jamal
2005-03-23 13:03     ` Jan Engelhardt
2005-03-23 18:27   ` Yichen Xie
2005-03-23 19:01     ` Jan Engelhardt
2005-03-23 19:07       ` Randy.Dunlap
2005-03-23 20:37     ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1111581618.1088.72.camel@jzny.localdomain \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=kaber@trash.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=yxie@cs.stanford.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®