Hi Jamal:

On Mon, Apr 10, 2006 at 11:02:06PM -0400, jamal wrote:
> 
> Ok, if both you can provide feedback on the attached patch (untested but
> compiles) I will make any necessary changes, test and push this +
> documentation to Dave.

Looks good to me.

> diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
> index a8e14dc..22203eb 100644
> --- a/net/xfrm/xfrm_state.c
> +++ b/net/xfrm/xfrm_state.c
> @@ -448,8 +448,10 @@ static void __xfrm_state_insert(struct x
>               xfrm_state_hold(x);
>  
>       if (x->replay_maxage &&
> -         !mod_timer(&x->rtimer, jiffies + x->replay_maxage))
> +         !mod_timer(&x->rtimer, jiffies + x->replay_maxage)) {
>               xfrm_state_hold(x);
> +             x->xflags &= ~XFRM_TIME_DEFER;
> +     }

You can skip this hunk because it's a brand new state which should
already be zeroed.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to