diff options
author | Eric Dumazet <edumazet@google.com> | 2025-02-06 08:30:51 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-07 11:51:26 -0800 |
commit | cb827db50a88aebec516151681adb6db10b688ee (patch) | |
tree | 7c8d6c47ba37c4bb3762c957339870b52e8c5643 /scripts/lib/kdoc/kdoc_files.py | |
parent | 1438f5d07b9a7afb15e1d0e26df04a6fd4e56a3c (diff) |
net: fib_rules: annotate data-races around rule->[io]ifindex
rule->iifindex and rule->oifindex can be read without holding RTNL.
Add READ_ONCE()/WRITE_ONCE() annotations where needed.
Fixes: 32affa5578f0 ("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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions