netdev
[Top] [All Lists]

Re: [IPSEC] Use add_timer instead of mod_timer in find_acq

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [IPSEC] Use add_timer instead of mod_timer in find_acq
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 25 May 2004 11:02:44 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040525121055.GA15690@gondor.apana.org.au>
References: <20040524115357.GA28827@gondor.apana.org.au> <20040525121055.GA15690@gondor.apana.org.au>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 25 May 2004 22:10:55 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> 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 :)

Also applied, thanks.

<Prev in Thread] Current Thread [Next in Thread>