Re: [PATCH net v2] net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data
From: patchwork-bot+netdevbpf
Date: Thu Nov 05 2026 - 05:19:58 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 29 Oct 2026 03:03:33 -0500 you wrote:
> From: Bryam Vargas <hexlabsecurity@xxxxxxxxx>
>
> 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