Article View: linux.kernel.netdev
Article #11583Re: [PATCH net v2] net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data
From: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 10:10
Date: Thu, 05 Nov 2026 10:10
28 lines
9182 bytes
9182 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 29 Oct 2026 03:03:33 -0500 you wrote:
> From: Bryam Vargas <hexlabsecurity@proton.me>
>
> While bytes spliced off the RMB are still in a pipe, recvmsg() waits
> for the pipe to release them before it copies the data behind them.
> The path to that wait skips the timeout and signal checks, and
> smc_rx_wait() returns at once on RCV_SHUTDOWN. With a signal pending,
> after SHUT_RD, or once the peer closes or shuts down writing,
> recvmsg() spins on a CPU until the pipe is drained, and SIGKILL cannot
> stop it. MSG_DONTWAIT and an expired SO_RCVTIMEO wait there too
> instead of returning -EAGAIN.
>
> [...]
Here is the summary with links:
- [net,v2] net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data
https://git.kernel.org/netdev/net/c/8288ba942cfd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179387340405.3565783.10479272570067778591.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-357210-linux-kernel-netdev=dewy.ruReferences:
<20261029-b4-disp-da7f8e6a-v2-1-9052904adf72@proton.me>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-357210-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data Date: Thu, 05 Nov 2026 10:10:04 +0000 Organization: Usenet Network Message-ID: <179387340405.3565783.10479272570067778591.git-patchwork-notify@kernel.org> References: <20261029-b4-disp-da7f8e6a-v2-1-9052904adf72@proton.me> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3613102"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:v8G5XokqgrhHHMUoOEOqra71wgE= sha256:qesgYChe+boDiRv/wjsbOhFsGvuUVQ/0uOsgBBUW5qI= sha1:rGNl2MHSl2DQAM8gBD0/JOV+ZWU= sha256:FIwOhuu+kPGE2Qds3t0LgwFKLLoK0oJTwqDEy8q0cSk= 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 1D53A112F06; Thu, 5 Nov 2026 13:31:06 +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 Dhmf4esudkNy; Thu, 5 Nov 2026 13:30:58 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-357210-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 2D5F7112EF5; Thu, 5 Nov 2026 13:30:50 +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 AEB35395DD; Thu, 5 Nov 2026 10:13:41 +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=1793873408; b=OQ7eItoszGJ84oTno1+mhuZMe7scCzaGOMihAaMnNmCZdqkQTJBcm/iqK6vTpXV4Ex17 I3vsA9vIyaEMwFAiftcN9zkbI+0X74sfto0Dj7ICsIdHezaYu7uLkkSKhB8vWDK5Okkcg 5I8kYEpNc4lCpUL1sbZgQrRVY/iUA8jcraEo2SUnBlAfbKFKYvHIvNQ3wvHpWoh/ke+0b 6tUIlcmpOWPhgoSA6C+ZoM71DO8SzfwoPZyaqjlYajzFCyant8qAnG+DqZJey7gi45m+0 alJuqeVIv/4I8Zmq2qmgjrpZjhoYlOi6FCmWbo+WmD3K7ot9Qo0Il2rOobK8eszQFYg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793873408; 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=ieB/BhshfTpFf/Emjsa3FOgNDbWqDdGD+LYI2ibqIWA=; b=T2aNpgYnlBAc5KaJqDmCIBonbg1p7ih7zzB+GSIoI3aQ/PDcluGg6d6Vsz7FyQ7UNXjL 0ORD+tYz9nk+KR5fNH242G3F8c1piAO2dcoXLONsN398OWUtDDDSTiPJOYZLdsVCEy/BX AU8ZMzhP7WXTJWq9wjCq3mgmOWQ7XZzZmVbZEXAJ6BH/ypQYWSYp+ayz0VBAMoB1FXwFM Rq2SmhyotvVp1RNK3uHHDjjSN/ray3fpxx8m7cX73HrI7axGB97xNKUnAEZp/QbibkAiL op2D+In/JuwUMDMnEcgWsn2Pawg83Z3rcvsjYce9WDzfcuaA7Jp0+9mTQnN0rs05X3A== 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=NcbxE9rS; 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 D3F69606A328; Thu, 5 Nov 2026 10:10:08 +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=NcbxE9rS 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=1793873406; b=1PAp0xRen9vIHT4QT5izTa7Bi4a+DtUfcIqlUCLBxCuywHQ5FSd1SwS9zohI44FoZS2h qdhyFNb+dYYCj0oJ7yuPaCTpfSvqb1QDq0XGOYrd9rJVbZZKZJ/wioIo2NWqD78vdTcLm YamsZw0eaJnXVVoGD3oon5EgFopb5I6PDRVRIUE0Vj6U+hIk5wloKBMIOj7sH8QP65xzy eF4EXZrxS5PCA3SCUJ9m4ACTDiSFLmuQAt/CwaCs+0oothXfHoxX2IQ2KvMHi5fZtMxbU /ZhsngEPSasG8Y9e6kUm4uNKOzORxXuXJ4k5GKbwQS/KBvX2MmV0DHRZ7mFfEf9pKhw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793873406; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=ieB/BhshfTpFf/Emjsa3FOgNDbWqDdGD+LYI2ibqIWA=; b=Z3uWmMDv+tjucCkJBXffzPNgV6Du/+CmemP05t53iBvmMIclMNng3Nq8HF9MUyLljfO2 k11HL7TtcpuY/0dMluGKCLeQOsAsJg/2ouH+x2V8ivspZ51DhObenZOAU0nNWfXv2cM+z NsgC7wLGgrrIP9bYQVwoKFGRC/0WNk45ReagDwHmdLn4Fn5xcDIHy8k/pFc5zQvMKrbzV 7cODaVBvC1MEYjNeAHVQHaUbwezMKuIvrC5F1RpQ4HRDGlWbgbYO0YfOzS1hH61Xz6oiD 6ruo6vTaXB4HUpM+XIcvQ/NXq3NEnpekIuGR+TfKtBhnKjkCRxam8ibFOpMoz4JS1KA== 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=NcbxE9rS; 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 A86BD606AA42; Thu, 5 Nov 2026 10:10:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ACEE1F000C1; Thu, 5 Nov 2026 10:10:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793873405; bh=ieB/BhshfTpFf/Emjsa3FOgNDbWqDdGD+LYI2ibqIWA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=NcbxE9rSkL6ykptZDUXYUGaW5KjF8LKeYduRjN+GCvqtF8QXoDVHovtevVM8XWZgM HobuRrw0NEFs5nymdF07IShXapQx0mcaN5XZ3C3Mby48RzUYyuQEIQVSm+0iUYit/W IEHMUio9V43T+A+HHHmw7eOaGG5kba67nVZTbYra+d/Tj5Sqj9wEmfSdCD50Bu0r9p 0/T9tEjT7Rf6Kwk8fb3IMY+DAIJaMEZvvQcuQ9I4/qOtWykRhtmabbU5wrIsfZCGSf Kufitg0YJjhGCgN7d6Vm81wORJZ+cZDrOzr5bLX42Ebt+9GkW8NFdGPJpqkGtohWUK DvPEL8zMXH2qg== 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 400C0391AFAF; Thu, 5 Nov 2026 10:10: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: <20261029-b4-disp-da7f8e6a-v2-1-9052904adf72@proton.me> X-Cc: dust.li@linux.alibaba.com, alibuda@linux.alibaba.com, mjambigi@linux.ibm.com, sidraya@linux.ibm.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@kernel.org, linux-s390@vger.kernel.org, guwen@linux.alibaba.com, linux-rdma@vger.kernel.org, tonylu@linux.alibaba.com, wenjia@linux.ibm.com, netdev@vger.kernel.org, raspl@linux.ibm.com, hidayath@linux.ibm.com, horms@kernel.org, ubraun@linux.ibm.com, linux-kernel@vger.kernel.org