[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130815.142334.1736006937556027032.davem@davemloft.net>
Date: Thu, 15 Aug 2013 14:23:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fan.du@...driver.com
Cc: steffen.klassert@...unet.com, netdev@...r.kernel.org
Subject: Re: [PATCHv2 net-next] xfrm: Make xfrm_state timer monotonic
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>
--
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