From patchwork Tue Jan 8 05:22:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepa Dinamani X-Patchwork-Id: 10751411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9DF9491E for ; Tue, 8 Jan 2019 05:23:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8804728AF5 for ; Tue, 8 Jan 2019 05:23:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A9D628B1B; Tue, 8 Jan 2019 05:23:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2239D28AF5 for ; Tue, 8 Jan 2019 05:23:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727484AbfAHFXW (ORCPT ); Tue, 8 Jan 2019 00:23:22 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42374 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbfAHFXW (ORCPT ); Tue, 8 Jan 2019 00:23:22 -0500 Received: by mail-pf1-f194.google.com with SMTP id 64so1324319pfr.9; Mon, 07 Jan 2019 21:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=C/PZBrvynKthJJ/lsF1pt+JT3JSAbBllFgTcfNdsDto=; b=YkFuu65N+ngxVlHyeP0s/V9Iod2E+T5hUPbkRPQCh2yKnlCzkVVWq6aCB1rO18RPVv Va6IUWqSuQBNmsTUmS2Ki064WizCMs9ehC3oa4wamc+2WANf8A0xJMwdQEmoLt9FMTLc TLnwCCGiNtpbKSmbSwS3ncUx1s7rJG3/ZZEkIFSmAsznHR9MwqdRz0l/uEmgwqDSxgIC Hnu3c+5wyfrwxSJareRyEVjwA2869fv5iJ4XmW+f5X8SqBGZoQYb/cpb9L/QdDGZCzzi l5W+q8/iqpilkwwb8mIBYxWNRrcv01JVjwQr073PF8KMF4Z4JN3BjUhSQcUCUyL9kSxG JZww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=C/PZBrvynKthJJ/lsF1pt+JT3JSAbBllFgTcfNdsDto=; b=c2JzLmUA4BJxLBzEItWKDRoArVwpTz8mjBkKBunckr+YP9OGwE9dyeUbBtlDY+1Ued bT3JlE75A8xk3In1P+7Vr/pl4y5gRoWVGT7kH3NmwsdAx8cuFFyKOPQDuxpzUb30AODG AQnY6gXFT8QjlQWxw5vHUksbxlINCZRwYnipNdVlS/g3N7KUP40Lm8pxeGMADtEhk1LY XpN9fSklYcRDobYHb6KEe3F8OWVok309WNalJWFSZLu4Hw7Ina1VxY+Fd0tuM6nmPve2 qHT0tfYvPKjCz0qzpBpJXu4YK5wYKfAnjo8LbyArfwpXgnlVENDq41NLsA9Ukcyu8nv8 FMIA== X-Gm-Message-State: AJcUuke5Qx5QHDEvKZXhLf0DfW4C4pj2sVxpVESv5x3/78EyE2zMU3Uj eQ1qxDjSwl1rD87ODBb3QQRe5Lz0 X-Google-Smtp-Source: ALg8bN7ghZyE1I0wD5gN5PUQnaYnkYOy9P+PydTedV977KUL90hHzyPMg9r/c9JBoF+NRNuGobCIpQ== X-Received: by 2002:a62:3c1:: with SMTP id 184mr400161pfd.56.1546925001107; Mon, 07 Jan 2019 21:23:21 -0800 (PST) Received: from deepa-ubuntu.lan (c-98-234-52-230.hsd1.ca.comcast.net. [98.234.52.230]) by smtp.gmail.com with ESMTPSA id x127sm102710626pfd.156.2019.01.07.21.23.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Jan 2019 21:23:20 -0800 (PST) From: Deepa Dinamani To: davem@davemloft.net, linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org, arnd@arndb.de, y2038@lists.linaro.org, ccaulfie@redhat.com, cluster-devel@redhat.com, deller@gmx.de, linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, paulus@samba.org, ralf@linux-mips.org, rth@twiddle.net, sparclinux@vger.kernel.org Subject: [PATCH 0/3] net: y2038-safe socket timeout options Date: Mon, 7 Jan 2019 21:22:52 -0800 Message-Id: <20190108052255.10699-1-deepa.kernel@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The series is aimed at adding y2038-safe timeout options: SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW. This is similar to the previous series adding y2038-safe SO_TIMESTAMP* options. The series needs to be applied after the socket timestamp series: https://lore.kernel.org/lkml/20190108032657.8331-1-deepa.kernel@gmail.com Deepa Dinamani (3): socket: Use old_timeval types for socket timeouts socket: Rename SO_RCVTIMEO/ SO_SNDTIMEO with _OLD suffixes sock: Add SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW arch/alpha/include/uapi/asm/socket.h | 13 ++++- arch/mips/include/uapi/asm/socket.h | 13 ++++- arch/parisc/include/uapi/asm/socket.h | 13 ++++- arch/powerpc/include/uapi/asm/socket.h | 4 +- arch/sparc/include/uapi/asm/socket.h | 13 ++++- fs/dlm/lowcomms.c | 4 +- include/uapi/asm-generic/socket.h | 13 ++++- net/compat.c | 14 ++--- net/core/sock.c | 78 +++++++++++++++++++------- net/vmw_vsock/af_vsock.c | 4 +- 10 files changed, 126 insertions(+), 43 deletions(-) base-commit: a4983672f9ca4c8393f26b6b80710e6c78886b8c prerequisite-patch-id: a03ec6afbdd328cd90557f7ee6675016a5f5c653 prerequisite-patch-id: 724d26c3036e6f3a38f810c2f10db3f7ddbf843b prerequisite-patch-id: 14017867b6eb4d5231eec1b563edcd840a1be26e prerequisite-patch-id: 8df0edfd9b973ff5aae91c7709c8223be096a5bc prerequisite-patch-id: 9850ad48d41bf068f074c0dd3c7610fb7177c89f prerequisite-patch-id: bd31f35bba11902d1cc3e8726492b54df34b5c59 prerequisite-patch-id: ea4b005c5ad188a4e0899d728357c114710a3a8e prerequisite-patch-id: cc3ee912c1ee1ea502ca079de81236a467950501