Re: [PATCH net-next] drop_monitor: Make timestamps y2038 safe

2019-08-27 Thread Arnd Bergmann
On Fri, Aug 23, 2019 at 5:48 PM Ido Schimmel wrote: > > From: Ido Schimmel > > Timestamps are currently communicated to user space as 'struct > timespec', which is not considered y2038 safe since it uses a 32-bit > signed value for seconds. > > Fix this while the API is still not part of any offi

Re: [PATCH net-next] drop_monitor: Make timestamps y2038 safe

2019-08-23 Thread David Miller
From: Ido Schimmel Date: Fri, 23 Aug 2019 18:47:21 +0300 > From: Ido Schimmel > > Timestamps are currently communicated to user space as 'struct > timespec', which is not considered y2038 safe since it uses a 32-bit > signed value for seconds. > > Fix this while the API is still not part of an

Re: [PATCH net-next] drop_monitor: Make timestamps y2038 safe

2019-08-23 Thread Neil Horman
On Fri, Aug 23, 2019 at 06:47:21PM +0300, Ido Schimmel wrote: > From: Ido Schimmel > > Timestamps are currently communicated to user space as 'struct > timespec', which is not considered y2038 safe since it uses a 32-bit > signed value for seconds. > > Fix this while the API is still not part of

[PATCH net-next] drop_monitor: Make timestamps y2038 safe

2019-08-23 Thread Ido Schimmel
From: Ido Schimmel Timestamps are currently communicated to user space as 'struct timespec', which is not considered y2038 safe since it uses a 32-bit signed value for seconds. Fix this while the API is still not part of any official kernel release by using 64-bit nanoseconds timestamps instead.