[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABeXuvpprn_AXF0ama9CsHyZ1yb8FuUH25MXauLzHyahxr+Vwg@mail.gmail.com>
Date: Tue, 8 Jan 2019 13:29:09 -0800
From: Deepa Dinamani <deepa.kernel@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: David Miller <davem@...emloft.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
y2038 Mailman List <y2038@...ts.linaro.org>,
ccaulfie@...hat.com, Helge Deller <deller@....de>,
Paul Mackerras <paulus@...ba.org>,
Ralf Baechle <ralf@...ux-mips.org>,
Richard Henderson <rth@...ddle.net>,
cluster-devel <cluster-devel@...hat.com>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
linux-alpha@...r.kernel.org,
linux-arch <linux-arch@...r.kernel.org>,
linux-mips@...r.kernel.org,
Parisc List <linux-parisc@...r.kernel.org>,
sparclinux <sparclinux@...r.kernel.org>
Subject: Re: [PATCH] socket: move compat timeout handling into sock.c
On Tue, Jan 8, 2019 at 12:10 PM Arnd Bergmann <arnd@...db.de> 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@...db.de>
This will make the other series so much nicer. Thank you.
Acked-by: Deepa Dinamani <deepa.kernel@...il.com>
Powered by blists - more mailing lists