Files
linux-stable-mirror/net/core
Eric Dumazet 889e6b42a4 net: fib_rules: annotate data-races around rule->[io]ifindex
[ Upstream commit cb827db50a ]

rule->iifindex and rule->oifindex can be read without holding RTNL.

Add READ_ONCE()/WRITE_ONCE() annotations where needed.

Fixes: 32affa5578 ("fib: rules: no longer hold RTNL in fib_nl_dumprule()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20250206083051.2494877-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-21 14:01:16 +01:00
..
2024-09-11 20:44:32 -07:00
2024-09-11 20:44:31 -07:00
2024-08-26 09:37:23 -07:00