Re: [PATCH net] ppp: annotate lockless queue empty check

From: patchwork-bot+netdevbpf

Date: Wed Aug 12 2026 - 20:32:49 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 11 Aug 2026 14:02:29 +0800 you wrote:
> ppp_poll() checks whether pf->rq contains a packet without holding the
> queue lock. skb_peek() requires appropriate locking or a private queue,
> neither of which applies because ppp_input() can enqueue concurrently.
>
> Only queue emptiness is needed, so use skb_queue_empty_lockless()
> instead.
>
> [...]

Here is the summary with links:
- [net] ppp: annotate lockless queue empty check
https://git.kernel.org/netdev/net-next/c/095887cb96a3

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