diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-06-29 18:10:59 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-01 18:42:34 +0200 |
| commit | facce49f29ccec1cf7fd916331c9a25c9ad75869 (patch) | |
| tree | 56c32e234486841afc8680749a38ef77af1df856 /samples | |
| parent | a7e87ee40980b66c57e4527b20c39bbb794068de (diff) | |
| download | linux-next-facce49f29ccec1cf7fd916331c9a25c9ad75869.tar.gz linux-next-facce49f29ccec1cf7fd916331c9a25c9ad75869.zip | |
net: fib_rules: Drop RTNL assertions.
Now, fib_rule structs are protected by per-fib_rules_ops mutex.
Let's drop ASSERT_RTNL_NET() and rtnl_dereference().
Note that fib_rules_event() iterates over net->rules_ops without
net->rules_mod_lock, but this is fine because all fib_rule users
are built-in and concurrent fib_rules_unregister() does not happen.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260629181226.1929658-8-kuniyu@google.com
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
