[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180712191134.42c32s6tquskm676@gauss3.secunet.de>
Date: Thu, 12 Jul 2018 21:11:34 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Arnd Bergmann <arnd@...db.de>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
"Hideaki YOSHIFUJI" <yoshfuji@...ux-ipv6.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] [RESEND, net-next] ipv6: xfrm: use 64-bit timestamps
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@...db.de>
Also applied to ipsec-next, thanks!
Powered by blists - more mailing lists