diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-07-02 23:01:22 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-09 01:32:38 +0000 |
| commit | e01b193e0b50ae849bf60067e111446f19ee2f20 (patch) | |
| tree | 985bb793d4aa9be5b953a2a8fe6d99bacce366c3 /net/lapb/lapb_iface.c | |
| parent | ipv6: mcast: Remove mca_get(). (diff) | |
| download | kernel-e01b193e0b50ae849bf60067e111446f19ee2f20.tar.gz kernel-e01b193e0b50ae849bf60067e111446f19ee2f20.zip | |
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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
