Hello:

This patch was applied to netdev/net.git (main)
by Willem de Bruijn <[email protected]>:

On Fri, 20 Nov 2026 11:38:24 +0800 you wrote:
> From: Xu Rao <[email protected]>
> 
> sock_has_rx_data() returns a positive value when receive data is
> available. For sockets without a peek_len() callback, however, its
> fallback returns skb_queue_empty(), which has the opposite meaning.
> 
> An AF_PACKET SOCK_RAW socket is accepted by get_raw_socket() as a
> vhost-net backend, and its socket operations do not provide peek_len().
> With busy polling enabled for this backend, an empty receive queue is
> treated as ready and a nonempty queue as not ready. This can make
> vhost_net_busy_poll() stop polling prematurely or fail to stop for
> queued receive data, and invert its receive-side scheduling decision.
> TUN and TAP backends provide peek_len() and are unaffected.
> 
> [...]

Here is the summary with links:
  - [net,v2] vhost/net: Fix receive queue test in busy poll
    https://git.kernel.org/netdev/net/c/cdf84b850584

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Reply via email to