Re: [PATCH net v3] ipv6: fix data race in fib6_metric_set() using cmpxchg
From: patchwork-bot+netdevbpf
Date: Wed Apr 01 2026 - 20:51:12 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 31 Mar 2026 12:17:18 +0800 you wrote:
> fib6_metric_set() may be called concurrently from softirq context without
> holding the FIB table lock. A typical path is:
>
> ndisc_router_discovery()
> spin_unlock_bh(&table->tb6_lock) <- lock released
> fib6_metric_set(rt, RTAX_HOPLIMIT, ...) <- lockless call
>
> [...]
Here is the summary with links:
- [net,v3] ipv6: fix data race in fib6_metric_set() using cmpxchg
https://git.kernel.org/netdev/net/c/ffb5a4843c5b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html