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

From: Herbert Xu (herbert@gondor.apana.org.au)
Date: Sun Jul 27 2003 - 21:20:35 EST


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.

-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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