[PATCH] IPSec fixes
    Jun-ichiro itojun Hagino 
    itojun at itojun.org
       
    Wed Jan 14 20:14:39 PST 2004
    
    
  
> >  	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
    
    
More information about the freebsd-current
mailing list