Re: [PATCH 2/2] [RESEND, net-next] ipv6: xfrm: use 64-bit timestamps

From: Steffen Klassert
Date: Thu Jul 12 2018 - 15:11:38 EST


On Wed, Jul 11, 2018 at 12:19:14PM +0200, Arnd Bergmann wrote:
> get_seconds() is deprecated because it can overflow on 32-bit
> architectures. For the xfrm_state->lastused member, we treat the data
> as a 64-bit number already, so we just need to use the right accessor
> that works on both 32-bit and 64-bit machines.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Also applied to ipsec-next, thanks!