diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-06-29 18:10:55 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-01 18:42:33 +0200 |
| commit | 4b8f5c974d14dc955b4252c02d5e4f185ddc9b23 (patch) | |
| tree | d2a8979e1ad0459689fbfe1bff699301f0ea9217 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5cb890ff73573f2924877d9a6b4a298f021a9cc5 (diff) | |
ipv4: fib: Protect fib_new_table() with spinlock.
fib_newrule() will drop RTNL except for the first IPv4 rule.
Then, fib4_rule_configure() could call fib_empty_table() and create
a new IPv4 fib_table without RTNL.
Currently, net->ipv4.fib_table_hash[] is only protected by RTNL.
As a prep, let's protect net->ipv4.fib_table_hash[] with a dedicated
spinlock.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260629181226.1929658-4-kuniyu@google.com
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
