aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-02-02 07:34:44 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-03 11:17:30 -0800
commitfe0c72f3db11be752e7c06efad9fa27af1327c47 (patch)
treed18ecf1c437ae64936226349ebaab124a1fb811a /arch
parentselftests: add missing include unistd (diff)
downloadlinux-dev-fe0c72f3db11be752e7c06efad9fa27af1327c47.tar.xz
linux-dev-fe0c72f3db11be752e7c06efad9fa27af1327c47.zip
socket: move compat timeout handling into sock.c
This is a cleanup to prepare for the addition of 64-bit time_t in O_SNDTIMEO/O_RCVTIMEO. The existing compat handler seems unnecessarily complex and error-prone, moving it all into the main setsockopt()/getsockopt() implementation requires half as much code and is easier to extend. 32-bit user space can now use old_timeval32 on both 32-bit and 64-bit machines, while 64-bit code can use __old_kernel_timeval. Signed-off-by: Arnd Bergmann <arnd@arndb.de> 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 'arch')
0 files changed, 0 insertions, 0 deletions