diff options
author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-07-02 16:01:22 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-08 18:32:38 -0700 |
commit | e01b193e0b50ae849bf60067e111446f19ee2f20 (patch) | |
tree | 985bb793d4aa9be5b953a2a8fe6d99bacce366c3 /net/core/dev_api.c | |
parent | d22faae8c55522aa21583598ea2898dc46bc7024 (diff) |
ipv6: mcast: Use in6_dev_get() in ipv6_dev_mc_dec().
As well as __ipv6_dev_mc_inc(), all code in __ipv6_dev_mc_dec() are
protected by inet6_dev->mc_lock, and RTNL is not needed.
Let's use in6_dev_get() in ipv6_dev_mc_dec() and remove ASSERT_RTNL()
in __ipv6_dev_mc_dec().
Now, we can remove the RTNL comment above addrconf_leave_solict() too.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250702230210.3115355-6-kuni1840@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions