Re: [PATCH net] vsock/bpf: do not count psock->ingress_skb as data to read
From: patchwork-bot+netdevbpf
Date: Sat Dec 05 2026 - 23:40:26 EST
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@xxxxxxxxxx>:
On Tue, 01 Dec 2026 09:32:33 +0100 you wrote:
> From: Jerome Mohm <jrmmhm.kernel@xxxxxxxxx>
>
> A blocking recv() on a vsock socket in a sockmap can keep sleeping
> after its data has become readable, until its timeout or a signal.
>
> vsock_sk_has_data() counts skbs in psock->ingress_skb, which recvmsg
> cannot read. With skbs only there, vsock_bpf_recvmsg() falls back to
> __vsock_recvmsg(), which waits for transport data and never looks at
> ingress_msg, where a verdict program puts the data. This happens when
> the socket is the target of an egress redirect and its peer does not
> read: the socket's own data queues behind the redirected skbs.
>
> [...]
Here is the summary with links:
- [net] vsock/bpf: do not count psock->ingress_skb as data to read
https://git.kernel.org/netdev/net/c/68ece668d3d2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html