Re: [IPSEC] Use add_timer instead of mod_timer in find_acq
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-05-25 12:10:55
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-05-25 12:10:55
On Mon, May 24, 2004 at 09:53:57PM +1000, herbert wrote:
Here is a tiny optimisation to use add_timer instead of mod_timer on the create path in find_acq.
Here is the same optimisation for the creation path in xfrm_state_find. It also fixes the timer so that it actually expires :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt