y2038: socket: remove timespec reference in timestamping
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Oct 2019 17:09:32 +0000 (18:09 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Nov 2019 13:38:29 +0000 (14:38 +0100)
commit0309f98f2fdc3526317e9bac150ca690f1f94ce6
tree47f59d2627735113e7ce37b9983670a4af7eed97
parent75d319c06e6a76f67549c0ae1007dc3167804f4e
y2038: socket: remove timespec reference in timestamping

In order to remove the 'struct timespec' definition and the
timespec64_to_timespec() helper function, change over the in-kernel
definition of 'struct scm_timestamping' to use the __kernel_old_timespec
replacement and open-code the assignment.

Acked-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/uapi/linux/errqueue.h
net/core/scm.c