diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2019-02-02 16:34:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-03 20:17:31 +0100 |
commit | 98bb03c865d7ddf7a9a2eb80f9a0dd5f261c56ad (patch) | |
tree | b1a15352fab2c7243400c659d593a7c4e38cac8e /net/batman-adv/bat_v.c | |
parent | socket: Use old_timeval types for socket timestamps (diff) | |
download | linux-98bb03c865d7ddf7a9a2eb80f9a0dd5f261c56ad.tar.xz linux-98bb03c865d7ddf7a9a2eb80f9a0dd5f261c56ad.zip |
socket: Add struct __kernel_sock_timeval
The new type is meant to be used as a y2038 safe structure
to be used as part of cmsg data.
Presently the SO_TIMESTAMP socket option uses struct timeval
for timestamps. This is not y2038 safe.
Subsequent patches in the series add new y2038 safe socket
option to be used in the place of SO_TIMESTAMP_OLD.
struct __kernel_sock_timeval will be used as the timestamp
format at that time.
struct __kernel_sock_timeval also maintains the same layout
across 32 bit and 64 bit ABIs.
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/bat_v.c')
0 files changed, 0 insertions, 0 deletions