[ovs-dev] [PATCH] openvswitch: use ktime_get_ts64() instead of ktime_get_ts()

David Miller davem at davemloft.net
Thu Nov 30 14:27:15 UTC 2017


From: Arnd Bergmann <arnd at arndb.de>
Date: Mon, 27 Nov 2017 12:41:38 +0100

> timespec is deprecated because of the y2038 overflow, so let's convert
> this one to ktime_get_ts64(). The code is already safe even on 32-bit
> architectures, since it uses monotonic times. On 64-bit architectures,
> nothing changes, while on 32-bit architectures this avoids one
> type conversion.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Applied.


More information about the dev mailing list