Re: [PATCH net v4] raw: annotate lockless match fields in raw_v4_match()
From: patchwork-bot+netdevbpf
Date: Thu Jul 23 2026 - 11:22:47 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 16 Jul 2026 22:29:58 +0800 you wrote:
> raw_v4_match() is a lockless match helper under sk_for_each_rcu(). It
> still reads inet->inet_daddr, inet->inet_rcv_saddr and
> sk->sk_bound_dev_if with plain loads while bind, connect and
> bind-to-device paths can update the same match fields concurrently.
>
> Annotate only those mutable match fields in raw_v4_match(), and do so
> at the point of use instead of hoisting the bound-device read before
> the earlier short-circuit tests.
>
> [...]
Here is the summary with links:
- [net,v4] raw: annotate lockless match fields in raw_v4_match()
https://git.kernel.org/netdev/net/c/18f116931f52
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html