commit | 03dc7a35fcc83a199121a5156c4a7a976b836682 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Wed Jul 11 12:19:14 2018 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Wed Jul 11 15:26:35 2018 +0200 |
tree | 3eb64568dea9ef596543d34547009d65b68c4222 | |
parent | 386c5680e2e80b012de557cf8326962070e0897b [diff] |
ipv6: xfrm: use 64-bit timestamps 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@arndb.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>