]> git.baikalelectronics.ru Git - kernel.git/commit
socket: Use old_timeval types for socket timestamps
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sat, 2 Feb 2019 15:34:48 +0000 (07:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2019 19:17:30 +0000 (11:17 -0800)
commit257299b669a38c78ea58d3a9fdf3645f27777f98
tree6603af04975126384041dacb4d094d58e6de7b6b
parent78862a3e72cf2cd2dc3b88522a79dbc774ba2080
socket: Use old_timeval types for socket timestamps

As part of y2038 solution, all internal uses of
struct timeval are replaced by struct __kernel_old_timeval
and struct compat_timeval by struct old_timeval32.
Make socket timestamps use these new types.

This is mainly to be able to verify that the kernel build
is y2038 safe when such non y2038 safe types are not
supported anymore.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Cc: isdn@linux-pingi.de
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/socket.c
include/linux/skbuff.h
net/bluetooth/hci_sock.c
net/compat.c
net/ipv4/tcp.c
net/rds/recv.c
net/socket.c