Re: [OOPS] on linux 2.6 while using IPSec.

From: David S. Miller (davem@redhat.com)
Date: Sun Jul 27 2003 - 21:20:25 EST


On Mon, 28 Jul 2003 12:20:35 +1000
Herbert Xu <herbert@gondor.apana.org.au> wrote:

> On Sun, Jul 27, 2003 at 04:19:47PM -0700, David S. Miller wrote:
> > On Sat, 26 Jul 2003 14:11:20 +1000
> > Herbert Xu <herbert@gondor.apana.org.au> wrote:
> >
> > > When an secpath is COWed, we lose reference to the states.
> >
> > Your patch looks good, except that secpath_dup() doesn't
> > release 'src' by putting it, thus we get a leak.
>
> The caller releases src.

Indeed, you're right.

I'll apply this, thanks Herbert.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:01 EST