Article View: linux.kernel.netdev
Article #17516Re: [PATCH net v2] sctp: do not free a new asoc peeled off while sendmsg slept
From: patchwork-bot+netdevbpf
Date: Mon, 16 Nov 2026 23:50
Date: Mon, 16 Nov 2026 23:50
25 lines
8815 bytes
8815 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 12 Nov 2026 18:21:49 +0100 you wrote:
> When sctp_sendmsg() creates a new association and sending on it fails
> with anything but -ESRCH, it frees the association. The send can
> sleep in sctp_wait_for_sndbuf(), which releases the socket lock, and
> meanwhile another thread can peel the new association off to a new
> socket. The wait then returns -EPIPE, and sctp_sendmsg() frees an
> association that now belongs to the peeled-off socket, without holding
> that socket's lock.
>
> [...]
Here is the summary with links:
- [net,v2] sctp: do not free a new asoc peeled off while sendmsg slept
https://git.kernel.org/netdev/net/c/f2540da93a11
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179487300478.245276.9003831986413993562.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364829-linux-kernel-netdev=dewy.ruReferences:
<20261112172149.27355-1-yves.bieri@theori.io>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364829-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] sctp: do not free a new asoc peeled off while sendmsg slept Date: Mon, 16 Nov 2026 23:50:04 +0000 Organization: Usenet Network Message-ID: <179487300478.245276.9003831986413993562.git-patchwork-notify@kernel.org> References: <20261112172149.27355-1-yves.bieri@theori.io> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2196190"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ZCq4gefgea0T1bObtxJQ+fOu+JQ= sha256:vMhtFPYtqOLF244I+fNloNV/7hDFDDTyAskVQgQDlXk= sha1:kSe+ka86uqT7j+5yO3FfdfWAvcw= sha256:dZKdXUKaqCtBm8DknfqTccR+7HvcEMHDfF4LcNeXnAI= 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 A93D8114DC3; Tue, 17 Nov 2026 02:50:25 +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 uMD7Aox5kW4H; Tue, 17 Nov 2026 02:50:19 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-364829-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 6767C114D72; Tue, 17 Nov 2026 02:50:10 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 67DC7301B0; Mon, 16 Nov 2026 23:50:07 +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=1794873007; b=E9td6e0b1WHjl9Q/u4VtvDfwiRjxYotEDjGmbL0Ra8WU3qgK8DVx2qiej16+QO2iNrLU deZAdPT0anQzTicnIuUwwZQl3ThDle9lZLfJxXJL4+CimMS6ZJK/3gHlf76vcxWQDEvD4 doVcpxFVp+Nt84a1GMJb3jqY2KcXkfowxaFp4qk6vvrsu6FrBF9tuR5RBhaNJAaF6PWoU 5RhpPp/55JJWI694j+uB35in5ensJoHv1Tzf5B9QSnfUpTESUb2XATw9NiOaMsmmGuihD YX28FtDti7lr7BsI4oxtaSv3Bg4jkYcAPyZq5hLOLVBOHCk+Lk6iKQaPmjqS8Q0pIgA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794873007; 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=H5PEbT44AMh96DEOsaYSsxRntcOvO9oCNPKiBsM1txc=; b=F+rSk8eFSgOYEFDTGbrJpRgGEYViNAVtsDHjnGDsIBnLo4iLMW9ACmhlnNUd65RqCx4W 16Smk1oK35jlUhq1OiASwerZSGvrpEOp/S7u/oRe7B+U+/IUA6yVhA69lEPyHWC79MBO6 NYNIxcsHOEW/Xzj1ATC7R08uHwvGJZHeEBqNGGK+hYWtLTONW176SclGQl6eMwnN2HZgH qfHKgjBqm0opU2O4zyiy5DrddYUC7kmuHw0tpDUVxxB9zRyrRtOAJT9hd18rlhXwoiwsG weOs2tHc8NpdjDKmYLn3DTq0rzVc0vz3Oci3aBtPDgLJRkTwf4QI5eE28v1G9hQHtMw== 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="UtEK3E/Q"; 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 101F0606A33E; Mon, 16 Nov 2026 23:50:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=UtEK3E/Q 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=1794873006; b=5dpXCgwgRFpvt84JDkkzsKZTor4Vh45yebIQN1Q1Y0mj56eTY1Sk+HOtUadyRpZOFugs fulcjWUlnbkpH0g4Q+mvxIt5nVtG7WuRVQVY46aaPVyhEOnRHak4hVEcmjJ5tEnvqA8SX GyEOds872/lVmmlrIGm4V7e8QQ8PnrWffa1EUIBrC+i2lqrJiz0rWrOW7eKVhtNthj9+i dsioVxU/3KuQPPYCIHnLNPd5BwpUDI3cLMhWQX7PDdHvaJrtOHOzohYs2gNO4jUM1sHpx g0BC/q5vfbXK3gI97oXNZMf/2yEZCUcKy30iksoJOqNArHsKtN6GQuOrz/Jy1/E8BHA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794873006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=H5PEbT44AMh96DEOsaYSsxRntcOvO9oCNPKiBsM1txc=; b=XiAIVcQIrXS3dqDT5iU+xt6uHbbgzZm86xMluxcA5bmKOaKPP1lMSyuj6L2xzrRX3EwW La+wH6UbIjqF/UMO1e1VAEaNTnqZubHbmJtYy9KO6a5PLHKjOJcZPu48V7x40cQ3sGNxg gVumscmOhLSBI8n/oijlxJuP60d3BLFPdLekFxbuPl9pVQXFUjEPZCJNU6j7XW443z5Io aNgMb6BVcsnM+CbZZewrxPhad37Jn2lg+xSWmArt9WXHfuuDCZT/HZilOrz84++3pZtTz R6EuTPrp0FxNa9bhYlABLne2pCfNLS1sGLYGT/WxeJoKRvihYX/u5NC1hMlJr/lT1oQ== 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="UtEK3E/Q"; 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 2EAD0606A31C; Mon, 16 Nov 2026 23:50:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0785A1F000C7; Mon, 16 Nov 2026 23:50:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794873006; bh=H5PEbT44AMh96DEOsaYSsxRntcOvO9oCNPKiBsM1txc=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=UtEK3E/QqODJRgPB03hTllJdzvpes5EKtBvDhwlLI6ersXEi78YkMDv1XRCoeDuux mpaGITGIu51A2tgw0+eivEtHDy9V8e3E6s2dG7LbE5rhwGaHVbro6p3OoueGMfR4/T nTi0QDue1559zuim+Yp39URaDPn9Thmh+InHjQw8LaH92IthTgcW8FtLAuuZv1CGXu nVvNsPU52j9DuBPocSgUn4mnuef6ysjbbMCYv5PYWIpAFyK755UnXNyDru2u+S59X0 FRPJNma/C0561hh/StnIKn17SIrPveuVM+LFECQwP3dRNIUIdmnNlEhFKLd4h4ovxD h2zSRDK5RpB5g== 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 F1490391B059; Mon, 16 Nov 2026 23:50:05 +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: <20261112172149.27355-1-yves.bieri@theori.io> X-Cc: marcelo.leitner@gmail.com, lucien.xin@gmail.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org