diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2017-11-27 15:02:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-30 09:26:32 -0500 |
commit | d750dbdc071bf863112ea83c64cd7c44d4bad261 (patch) | |
tree | 6de5b06174f72a5cff623e5fb0c46fd05c6abcf2 /net/atm/lec.c | |
parent | 59c036995c65606ae7d4ba3b93dfc01361618dce (diff) | |
download | linux-d750dbdc071bf863112ea83c64cd7c44d4bad261.tar.gz linux-d750dbdc071bf863112ea83c64cd7c44d4bad261.tar.bz2 linux-d750dbdc071bf863112ea83c64cd7c44d4bad261.zip |
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>
Diffstat (limited to 'net/atm/lec.c')
0 files changed, 0 insertions, 0 deletions