Re: [PATCH] atm: mpoa: remove 32-bit timekeeping

From: David Miller
Date: Thu Nov 30 2017 - 09:27:39 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Mon, 27 Nov 2017 15:02:17 +0100

> From: Tina Ruchandani <ruchandani.tina@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied.