diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-08-23 18:47:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-24 00:58:07 +0300 |
commit | bd1200b79510a68554890af2f48d92be6eb1daf8 (patch) | |
tree | b0197551de3751c819ab54940fea0c6dd818bf76 /drivers/net/ethernet/realtek/r8169_main.c | |
parent | bf1867db9b850fff2dd54a1a117a684a10b8cd90 (diff) | |
download | linux-bd1200b79510a68554890af2f48d92be6eb1daf8.tar.xz |
drop_monitor: Make timestamps y2038 safe
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.
Fixes: ca30707dee2b ("drop_monitor: Add packet alert mode")
Fixes: 5e58109b1ea4 ("drop_monitor: Add support for packet alert mode for hardware drops")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169_main.c')
0 files changed, 0 insertions, 0 deletions