diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-02-28 22:17:29 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-02 18:49:41 -0800 |
| commit | 478c2add78b13e36d781d6891d5861e6e1eecef4 (patch) | |
| tree | e90cf7feb242475013786ab9583f6c0dbdcb29f1 /include/linux | |
| parent | 4a11adcd9eefb841d4595267bbd4df304a98ded6 (diff) | |
ipmr: Call fib_rules_unregister() without RTNL.
fib_rules_unregister() removes ops from net->rules_ops under
spinlock, calls ops->delete() for each rule, and frees the ops.
ipmr_rules_ops_template does not have ->delete(), and any
operation does not require RTNL there.
Let's move fib_rules_unregister() from ipmr_rules_exit_rtnl()
to ipmr_net_exit().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260228221800.1082070-12-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
