From patchwork Wed May 31 19:37:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mat Martineau X-Patchwork-Id: 13262569 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F8A51F190; Wed, 31 May 2023 19:37:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46B58C433EF; Wed, 31 May 2023 19:37:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685561836; bh=3QH5aZlcSRU4610XRsKINe3bPQBeJWZu9g5TAOJVi7w=; h=From:Subject:Date:To:Cc:From; b=fPMKndLi9viZAHFFW2eLfnnGeWze5hhHLCesrPMrAVCWPyClxCAWrpA0wf7xfD7l6 DhNEGQvFRR9evmkQjBVYol/fjklY4DFBoKkYi7jJ5o9Xtdfy3/0MYQXwYm6fldvKG3 IYF3Vv3STI+CNjI1jSt0DonO6Jd1oFRN2GDUAH5deF/064A6EdtsnAjYblyhtkWVXQ s7cwlbT/TGFUlxhDC36AS4G8VMRz6/9f/F+22TxRMXLG6+a3U6q0BjKPCxIOONAzSX peNOvUDfUJtCtjO5TFa+UhemN+CyCMVra1aBjuofdWH27HQRnhLCVkGeh1DB221TZv TNoXP+28JwIjg== From: Mat Martineau Subject: [PATCH net 0/6] mptcp: Fixes for connect timeout, access annotations, and subflow init Date: Wed, 31 May 2023 12:37:02 -0700 Message-Id: <20230531-send-net-20230531-v1-0-47750c420571@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAN6hd2QC/z2NwQqEMAxEf0Vy3oC2FWR/RTy0Jq45mJVGFkH8d 6uHPb4Z3swBxlnY4F0dkPknJl8t0LwqGOeoH0ahwuBq5+vWN2ishMob/pPgOqIp+BSYoHgpGmP KUcf5NrdlRV3uYs08yf6c9VAmYDjPC2Lc8vqBAAAA To: Matthieu Baerts , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Geliang Tang Cc: netdev@vger.kernel.org, mptcp@lists.linux.dev, Mat Martineau , Ondrej Mosnacek , stable@vger.kernel.org, Christoph Paasch X-Mailer: b4 0.12.2 X-Patchwork-Delegate: kuba@kernel.org Patch 1 allows the SO_SNDTIMEO sockopt to correctly change the connect timeout on MPTCP sockets. Patches 2-5 add READ_ONCE()/WRITE_ONCE() annotations to fix KCSAN issues. Patch 6 correctly initializes some subflow fields on outgoing connections. Signed-off-by: Mat Martineau --- Paolo Abeni (6): mptcp: fix connect timeout handling mptcp: add annotations around msk->subflow accesses mptcp: consolidate passive msk socket initialization mptcp: fix data race around msk->first access mptcp: add annotations around sk->sk_shutdown accesses mptcp: fix active subflow finalization net/mptcp/protocol.c | 140 ++++++++++++++++++++++++++++----------------------- net/mptcp/protocol.h | 15 +++--- net/mptcp/subflow.c | 28 +---------- 3 files changed, 88 insertions(+), 95 deletions(-) --- base-commit: 448a5ce1120c5bdbce1f1ccdabcd31c7d029f328 change-id: 20230531-send-net-20230531-428ddf43b4ed Best regards,