]> git.ipfire.org Git - thirdparty/linux.git/commit
ipv6: mcast: Replace locking comments with lockdep annotations.
authorKuniyuki Iwashima <kuniyu@google.com>
Wed, 2 Jul 2025 23:01:19 +0000 (16:01 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Jul 2025 01:32:37 +0000 (18:32 -0700)
commit818ae1a5ecb41d82ad180a99c39111f051894d90
tree1e880917b7dcffc0d3bd77773a981dcf9f58923c
parentfb60b74e4e5b8e808d51704a678dbf109ee8e6b5
ipv6: mcast: Replace locking comments with lockdep annotations.

Commit 63ed8de4be81 ("mld: add mc_lock for protecting per-interface
mld data") added the same comments regarding locking to many functions.

Let's replace the comments with lockdep annotation, which is more helpful.

Note that we just remove the comment for mld_clear_zeros() and
mld_send_cr(), where mc_dereference() is used in the entry of the
function.

While at it, a comment for __ipv6_sock_mc_join() is moved back to the
correct place.

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250702230210.3115355-3-kuni1840@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/mcast.c