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

[email protected]
Newsgroups org.kernel.vger.linux-ppp,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <178658101588.2163205.3438866615251096333.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.