[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130816093018.GM26773@secunet.com>
Date: Fri, 16 Aug 2013 11:30:18 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: David Miller <davem@...emloft.net>
Cc: fan.du@...driver.com, netdev@...r.kernel.org
Subject: Re: [PATCHv2 net-next] xfrm: Make xfrm_state timer monotonic
On Thu, Aug 15, 2013 at 02:23:34PM -0700, David Miller wrote:
> From: Fan Du <fan.du@...driver.com>
> Date: Thu, 15 Aug 2013 15:49:06 +0800
>
> > xfrm_state timer should be independent of system clock change,
> > so switch to CLOCK_BOOTTIME base which is not only monotonic but
> > also counting suspend time.
> >
> > Thus issue reported in commit: 9e0d57fd6dad37d72a3ca6db00ca8c76f2215454
> > ("xfrm: SAD entries do not expire correctly after suspend-resume")
> > could ALSO be avoided.
> >
> > Signed-off-by: Fan Du <fan.du@...driver.com>
> >
> > v2: Use CLOCK_BOOTTIME to count suspend time, but still monotonic.
>
> This seems like a good fix:
>
> Acked-by: David S. Miller <davem@...emloft.net>
Applied to ipsec-next, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists