From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFDC4C43387 for ; Tue, 8 Jan 2019 21:29:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A61A2070B for ; Tue, 8 Jan 2019 21:29:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Qyg7o4mV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729986AbfAHV3U (ORCPT ); Tue, 8 Jan 2019 16:29:20 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:37144 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729415AbfAHV3U (ORCPT ); Tue, 8 Jan 2019 16:29:20 -0500 Received: by mail-io1-f66.google.com with SMTP id g8so4362880iok.4; Tue, 08 Jan 2019 13:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AjS78uQSbCdKCPygo0CoQj9gYIa5n4/romkv0n456+Y=; b=Qyg7o4mVqxawxBe4EdUFL8t/+X0LIBjR+JsHbwPd4l3Z+vmPATWIB59hpJiCBMydC8 SKW9spP+0tNfpVYcy82Z5dESPcfxlob9rEHguF0roulT7lyvt/ILd6wKGZ33ksfvgq0u kVmiYVIMwRkRUM7FSi1ayrMZUh9bGHqC22tuqZmfhj4691aF8kPqVKzm5nfxxzYHqD/u Sz/8hc0o7YAcUeSCDIpIVcQ+VU/aftIxsK0reQx+7ya+owJ9xh095LUI3bAFrjfU8b8f LQpmA+kJKfUWi6LeUXFuEW9LpMNrVQB2dwaq6ox6WZSTnP5nRawvmxx5/QrNEQNMs6Gs nUdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AjS78uQSbCdKCPygo0CoQj9gYIa5n4/romkv0n456+Y=; b=bcnNwSprseTLLt2ma0YeiMjKOsEtaAE2izmreI0EGqRWVKTblCbKqnSgjZWsrGgum1 6wiUDK7G6Xmr1JUM5TbgY7tUpukAs1TA4HGS21LnePqRN9kXWeKHNsSBQq5HSwqjegjM SI9eSdC8D40ZeHXo7AS8aOFcx3H67PajbgrrJxoPssXoYS80xzrqcoy5NQD22hES46xc Am8q1JvdFnE4BxmrH01LnsToTDllOsS4wNlM9z+3g+hfo1MFa4up4hxgBgmi3Mbr6CsV AiGRSpjbSqoBC1fw0YBHBoVWkAPPLuFHswmd/l9QrKeohyGQkKpAFiiXCuzFX8Fr7cet GEuA== X-Gm-Message-State: AJcUukf09a4DGIzzIQZV0PYfosvi5u7TrOvdfQ0QzTxiupZMFLHhREVk tscItu9DReUd4RsnIMmNAgj6KRy04lLAhvlBmwU= X-Google-Smtp-Source: ALg8bN5SW1k1cSp+b8s5Z3lPIKWAfapgdrB+ci7GO15oZ8FdL206oogHrlJ7RwN11610nK7mA22HPpd56e+aazMhpXU= X-Received: by 2002:a6b:8b4e:: with SMTP id n75mr2015591iod.184.1546982958943; Tue, 08 Jan 2019 13:29:18 -0800 (PST) MIME-Version: 1.0 References: <20190108200959.1686520-1-arnd@arndb.de> In-Reply-To: <20190108200959.1686520-1-arnd@arndb.de> From: Deepa Dinamani Date: Tue, 8 Jan 2019 13:29:09 -0800 Message-ID: Subject: Re: [PATCH] socket: move compat timeout handling into sock.c To: Arnd Bergmann Cc: David Miller , Linux Kernel Mailing List , Networking , y2038 Mailman List , ccaulfie@redhat.com, Helge Deller , Paul Mackerras , Ralf Baechle , Richard Henderson , cluster-devel , linuxppc-dev , linux-alpha@vger.kernel.org, linux-arch , linux-mips@vger.kernel.org, Parisc List , sparclinux Content-Type: text/plain; charset="UTF-8" Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org On Tue, Jan 8, 2019 at 12:10 PM Arnd Bergmann 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 This will make the other series so much nicer. Thank you. Acked-by: Deepa Dinamani