diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-07-02 23:01:21 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-09 01:32:38 +0000 |
| commit | d22faae8c55522aa21583598ea2898dc46bc7024 (patch) | |
| tree | 1f71b4ae9ff40a6ce290b29cd80820825b66a7ad /net/lapb/lapb_iface.c | |
| parent | ipv6: mcast: Check inet6_dev->dead under idev->mc_lock in __ipv6_dev_mc_inc(). (diff) | |
| download | kernel-d22faae8c55522aa21583598ea2898dc46bc7024.tar.gz kernel-d22faae8c55522aa21583598ea2898dc46bc7024.zip | |
ipv6: mcast: Remove mca_get().
Since commit 63ed8de4be81 ("mld: add mc_lock for protecting per-interface
mld data"), the newly allocated struct ifmcaddr6 cannot be removed until
inet6_dev->mc_lock is released, so mca_get() and mc_put() are unnecessary.
Let's remove the extra refcounting.
Note that mca_get() was only used in __ipv6_dev_mc_inc().
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
