Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2004 13:14:35 +0900 (JST)
From:      itojun@itojun.org (Jun-ichiro itojun Hagino)
To:        bzeeb-lists@lists.zabbadoz.net
Cc:        ume@freebsd.org
Subject:   Re: [PATCH] IPSec fixes
Message-ID:  <20040115041435.7B739A6@coconut.itojun.org>
In-Reply-To: Your message of "Wed, 14 Jan 2004 22:24:15 %2B0000 (UTC)" <Pine.BSF.4.53.0401140934230.30149@e0-0.zab2.int.zabbadoz.net>
References:  <Pine.BSF.4.53.0401140934230.30149@e0-0.zab2.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> >  	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040115041435.7B739A6>