diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-21 17:40:38 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-22 17:32:56 -0700 |
| commit | b8de39a06535bfccf9f693e42dc8cfbee35d07be (patch) | |
| tree | 786c2d9e9f331ee9db097e53c89919b008275520 /include/linux | |
| parent | 24822968aa928ab087fc612ec1c6d2751ec91a4a (diff) | |
rtnetlink: do not use RTNL in rtnl_af_register() and rtnl_af_unregister()
rtnl_af_lookup() does not rely on RTNL anymoe, remove the stale
ASSERT_RTNL().
Add a private spinlock (rtnl_af_ops_lock) to protect rtnl_af_ops
list instead of using RTNL.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260521174038.204481-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
