atm: mpoa: remove 32-bit timekeeping
authorTina Ruchandani <ruchandani.tina@gmail.com>
Mon, 27 Nov 2017 14:02:17 +0000 (15:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 14:26:32 +0000 (09:26 -0500)
commitd750dbdc071bf863112ea83c64cd7c44d4bad261
tree6de5b06174f72a5cff623e5fb0c46fd05c6abcf2
parent59c036995c65606ae7d4ba3b93dfc01361618dce
atm: mpoa: remove 32-bit timekeeping

net/atm/mpoa_* files use 'struct timeval' to store event
timestamps. struct timeval uses a 32-bit seconds field which will
overflow in the year 2038 and beyond. Morever, the timestamps are being
compared only to get seconds elapsed, so struct timeval which stores
a seconds and microseconds field is an overkill. This patch replaces
the use of struct timeval with time64_t to store a 64-bit seconds field.

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/common.c
net/atm/mpc.c
net/atm/mpoa_caches.c
net/atm/mpoa_caches.h
net/atm/mpoa_proc.c