Article View: linux.kernel.netdev
Article #11743Re: [PATCH net] mptcp: pm: kernel: use RCU to free endpoint listeners
From: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 14:10
Date: Thu, 05 Nov 2026 14:10
29 lines
8916 bytes
8916 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Wed, 4 Nov 2026 13:53:27 +0100 you wrote:
> From: Kyle Zeng <kylebot@openai.com>
>
> mptcp_pm_nl_create_listen_socket() starts the TCP listener directly
> instead of going through mptcp_listen(). It consequently misses setting
> SOCK_RCU_FREE on the parent MPTCP socket.
>
> tcp_child_process() can invoke the listener's subflow_data_ready()
> callback without holding the MPTCP parent lock or a reference to the
> parent. An authenticated MP_JOIN racing with endpoint teardown can
> therefore access the parent after its last reference has been dropped.
> The ADD_ADDR error path can also close an already published listener.
>
> [...]
Here is the summary with links:
- [net] mptcp: pm: kernel: use RCU to free endpoint listeners
https://git.kernel.org/netdev/net/c/49b09ae0bf57
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179388780704.3729553.7318793746811801977.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357416-linux-kernel-netdev=dewy.ruReferences:
<20261104125327.1041456-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357416-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] mptcp: pm: kernel: use RCU to free endpoint listeners Date: Thu, 05 Nov 2026 14:10:07 +0000 Organization: Usenet Network Message-ID: <179388780704.3729553.7318793746811801977.git-patchwork-notify@kernel.org> References: <20261104125327.1041456-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3652220"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cNlFL0oAzL447bOOBmgv0aCOTBk= sha256:kYEUtIFSLT8HpjM9EQ6UYInqs0jKmCqDHscrhwkA7aE= sha1:XdqnsUPA/Lnl21KK2naZbfcAjyg= sha256:E28SITG72/IyIfTjD8KAXwRRrr9axnfy8zjaHE3DgW8= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 7F987112FC6; Thu, 5 Nov 2026 17:16:18 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K0-jxeAIhYvM; Thu, 5 Nov 2026 17:16:15 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-357416-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id CBA18112FA8; Thu, 5 Nov 2026 17:16:05 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 1538A2EF7E; Thu, 5 Nov 2026 14:10:27 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793887815; b=vjEiJHBG4ttnmamM/JEBHjO/5DP0csXptubLIfLeO9Mz38p2DoDO7Ig1CFIXmQbkCI/v pEEy7SucbaNgTOB7f6a/4OKdj+KlF/TPZ1CRYBC8faKOKM7HKLvUBKsz6akRgNiIejDO7 pdZPXSBE+H+egFY4JB1Y24eQ9+GCQIiWOjid31gMt793OHP2tKyiV1eRSWnwP2RuX6KYP mqjrMlhvXf+1kT0hMXP74qwYIbPIFSbgb8ACtYdCADWKTnXqhN385GiCgGwQr2ly9ysNw IrEiiL0IBS2/y2ejjClcar3HrsJe0fxXzI997b9pTzyNl60zYb6Lyo2XQDZ5XurrhEw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793887815; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Xx+Vfh7jrF1gF05UlkMCvhnqxtebQEJe8YY7pG2KVRQ=; b=Is4VIfCmlnsxPkq4winYoBcq+/qRjVwXr7knps158JCLz8IzY4Onv9/nO/w+QpGa/3VB azJuO1xhUwOCVp/bJVhGOrS6Uz4xg3VwYKy945HmvNbFn7V+Wbqb12JRmBOsPKmesbRtz v+NrGvTDHcgfcCGyZk6xE4FPVPSYIQdZQE/8v0WAeU45f4L8fkQqWFaq+btMR3FQu81kZ RRBGWvhsT8rMWTz97Kxo5MPWx+cUyaIQQM5fnqBt6+Nlfsg0KGLSfqg/j/wwBYT9O1KXV C20kdAvBUQhXgc3Z5KFhd4PdusdXPI66VviP4NbaOIKDqYy8UW/CoCbIexPkatQuT9w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fuZOjHBS; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70A5F606D819; Thu, 5 Nov 2026 14:10:15 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fuZOjHBS X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793887809; b=bckYPhSeHd1RgKrIFJXq4tCEk9MdjzFyFKQdmsdG2WvgSF6Icd9aZGmZjruHiUNPsJUe IL6HpHrWl1GZhMMcyIhIOGiAt3j6F+hAEBCCExxTtOOsNWQs29Ho7hxDCfQfG1kt3UQq8 V/cazQw65rvDNA7uGiImuScB0K7Q7O9GIZTKre54dnKygPq/fOGNnEQ4Viez8jglnI+d1 d3fJA1vCW9GLSb3rdIW0FCLSCJtHeRFpYg8IvXETtfV0HmeiG7rH4/adSr2pCWH0znkv6 uuA+pTOKXn31fhAygMHFxeUqeI7TW2BzUHPRLrLpirs+4lmoRPktogetLAw0pSnVgfQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793887809; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Xx+Vfh7jrF1gF05UlkMCvhnqxtebQEJe8YY7pG2KVRQ=; b=4b8zXWK6EHz4HoIRVuqBfrPjS7ZnKKtf1rNMs2V5m7kLbJ9DLQG1S6IpZK0v/3sAI7j9 9o++hvu0UlwYqz2XCmqz1KmA5g0UOIMhm/BZBXmZHlrrafVtgEOmGxsPGX/GFp93yH6un +C9heKsI71A1hQnxaZU3AZyuj14lMQQT55JhDtNPvU/ujozMlKXBiaDQ01HrTj0JejTi4 pGV3gACxFa1u/vsmgn7kAPGJhMr/mc1dCGfw2zoTBg5wiJ5cbYrgAxZZ/6kU0eWyPpF9m jWmf8aNDkgZ02xBHxaSwS4XnMnk7Fp0XrZU9X5GKmCyUNrF01CcGTk1v2VEoLGL5unw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fuZOjHBS; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB4C6606A337; Thu, 5 Nov 2026 14:10:08 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60EF01F000C1; Thu, 5 Nov 2026 14:10:08 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793887808; bh=Xx+Vfh7jrF1gF05UlkMCvhnqxtebQEJe8YY7pG2KVRQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=fuZOjHBSN0waoccOPH10JIUAKsxtKMaNyx4WxthifG6/OvvyN4P+0jmSctffSAItf HQm2z7UUbfW6At1Ljj7e4vayJ9N5CdF1uhSu8z4HLzhD1f7tKQy6s8nxn5QxFx18yF 8m2mjT1uXkupkko6AIXvMS/v+XnZRAcEAUuztZXdF3bmcjD6s51GduX18GAZpQLJcd wJG5JB+GPcZti6quyLeGNLoT0qWwfvj8WVRmYPgC4icfo2xpGE3Q/1sZ7jCPTKA7eg O8YC2rYIwp1Zz95VdtqsP2Pb5aO+21C5Arx91jCPfNRtjnsQxra4m4ic2w4LFpTlMK 43TjxqPHGEBlA== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 58E9B391AF93; Thu, 5 Nov 2026 14:10:08 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261104125327.1041456-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, matttbe@kernel.org, martineau@kernel.org, geliang@kernel.org, horms@kernel.org, kuniyu@google.com, netdev@vger.kernel.org, kylebot@openai.com, stable@vger.kernel.org