Thread (7 messages) 7 messages, 2 authors, 2019-01-08

Re: [PATCH] socket: move compat timeout handling into sock.c

From: Deepa Dinamani <hidden>
Date: 2019-01-08 21:29:21
Also in: linux-alpha, linux-arch, linux-mips, lkml, netdev, sparclinux

On Tue, Jan 8, 2019 at 12:10 PM Arnd Bergmann [off-list ref] wrote:
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>
This will make the other series so much nicer. Thank you.

Acked-by: Deepa Dinamani <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help