From patchwork Wed Feb 16 02:11:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mat Martineau X-Patchwork-Id: 12747837 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E963FC433EF for ; Wed, 16 Feb 2022 02:11:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343550AbiBPCLw (ORCPT ); Tue, 15 Feb 2022 21:11:52 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243539AbiBPCLv (ORCPT ); Tue, 15 Feb 2022 21:11:51 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 185C61EC5B for ; Tue, 15 Feb 2022 18:11:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644977500; x=1676513500; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=pqnRaIFh1sSDvPWAjRsmzpIOXJT8CkRc4jB7kaQCavQ=; b=IbaE57vtRmYp56bHZ2frfvWO/kkFKugnxsy34pZCQfwtYlE0arnkZiCA eEJI6IqZasq0nJRdKEdpMXDUWQkHx0dWPUT0JUChEdfXG8BtxIEzs7yIQ 4Qy55W15FHUMCeVvkX7v8V7sWU1SFtaWf5PSZ42BR68RrWy9DLQPzNZ0f YgA7zvNg76RPhMZa8OOqH8kxvwsA0h+9AOgtqKCGj5dT98GTEhnKDjNf0 pzukDvBrJEjWhxk6uo7yhombieKI0Kl/65bZ9vOpt6yqq+ns7usVB1z2A UIvb4NZeeGHGdxmRQWr5GWPzKIGa6CURJFHePaHMJbaRBBfPgIcYzZaKs A==; X-IronPort-AV: E=McAfee;i="6200,9189,10259"; a="237909068" X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="237909068" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 18:11:36 -0800 X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="571088814" Received: from mjmartin-desk2.amr.corp.intel.com (HELO mjmartin-desk2.intel.com) ([10.209.9.181]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 18:11:36 -0800 From: Mat Martineau To: netdev@vger.kernel.org Cc: Mat Martineau , davem@davemloft.net, kuba@kernel.org, matthieu.baerts@tessares.net, mptcp@lists.linux.dev Subject: [PATCH net-next 0/8] mptcp: SO_SNDTIMEO and misc. cleanup Date: Tue, 15 Feb 2022 18:11:22 -0800 Message-Id: <20220216021130.171786-1-mathew.j.martineau@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Patch 1 adds support for the SO_SNDTIMEO socket option on MPTCP sockets. The remaining patches are various small cleanups: Patch 2 removes an obsolete declaration. Patches 3 and 5 remove unnecessary function parameters. Patch 4 removes an extra cast. Patches 6 and 7 add some const and ro_after_init modifiers. Patch 8 removes extra storage of TCP helpers. Florian Westphal (2): mptcp: mark ops structures as ro_after_init mptcp: don't save tcp data_ready and write space callbacks Geliang Tang (4): mptcp: add SNDTIMEO setsockopt support mptcp: drop unused sk in mptcp_get_options mptcp: drop unneeded type casts for hmac mptcp: drop port parameter of mptcp_pm_add_addr_signal Matthieu Baerts (1): mptcp: mptcp_parse_option is no longer exported Paolo Abeni (1): mptcp: constify a bunch of of helpers include/net/mptcp.h | 6 ------ net/mptcp/options.c | 13 +++++-------- net/mptcp/pm.c | 11 ++++++----- net/mptcp/pm_netlink.c | 42 +++++++++++++++++++++--------------------- net/mptcp/protocol.h | 29 +++++++++++++---------------- net/mptcp/sockopt.c | 2 ++ net/mptcp/subflow.c | 37 +++++++++++++++++-------------------- 7 files changed, 64 insertions(+), 76 deletions(-) base-commit: 2c955856da4faec3a36df1e85b3ba3dfe230d6fd