| To: | "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [IPSEC] Use add_timer instead of mod_timer in find_acq |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 25 May 2004 22:10:55 +1000 |
| In-reply-to: | <20040524115357.GA28827@xxxxxxxxxxxxxxxxxxx> |
| References: | <20040524115357.GA28827@xxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.5.1+cvs20040105i |
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~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [IPSEC] Update out-of-date comment in __xfrm_state_delete, Herbert Xu |
|---|---|
| Next by Date: | Re: [PATCH] fix BUG in tg3_tx, David S. Miller |
| Previous by Thread: | Re: [IPSEC] Use add_timer instead of mod_timer in find_acq, David S. Miller |
| Next by Thread: | Re: [IPSEC] Use add_timer instead of mod_timer in find_acq, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |