Re: [PATCH] IPSec fixes

From: Jun-ichiro itojun Hagino <itojun_at_itojun.org>
Date: Thu, 15 Jan 2004 13:14:35 +0900 (JST)
> >  	newsp->state = IPSEC_SPSTATE_ALIVE;
> >  	LIST_INSERT_TAIL(&sptree[newsp->dir], newsp, secpolicy, chain);
> > +	newsp->refcnt++;
> this will give you an additional refcnt (being 2 at this point) which
> you will decrement where/when ?

	hmm, i made a wrong change.  i intended to do "refcnt++" for the
	reference from sptree[], but it is already counted for.

itojun
Received on Wed Jan 14 2004 - 19:14:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC