diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-07-11 12:19:14 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2018-07-11 15:26:35 +0200 |
commit | 03dc7a35fcc83a199121a5156c4a7a976b836682 (patch) | |
tree | 3eb64568dea9ef596543d34547009d65b68c4222 /net/xfrm/xfrm_device.c | |
parent | xfrm: use time64_t for in-kernel timestamps (diff) | |
download | linux-03dc7a35fcc83a199121a5156c4a7a976b836682.tar.xz linux-03dc7a35fcc83a199121a5156c4a7a976b836682.zip |
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>
Diffstat (limited to 'net/xfrm/xfrm_device.c')
0 files changed, 0 insertions, 0 deletions