Re: [PATCH net-next 2/3] net: ipv6: report multicast group user count

From: Ido Schimmel

Date: Thu Jul 02 2026 - 04:19:24 EST


On Tue, Jun 30, 2026 at 08:02:06PM +0900, Yuyang Huang wrote:
> The previous patch added IFA_MC_USERS and emits it for IPv4 multicast
> groups. Add the same snapshot attribute to IPv6 RTM_GETMULTICAST
> replies and entry-lifecycle notifications, carrying
> ifmcaddr6::mca_users.
>
> This makes the multicast rtnetlink ABI symmetric across IPv4 and IPv6
> and gives userspace the same user count that /proc/net/igmp6 exposes.
>
> Signed-off-by: Yuyang Huang <sigefriedhyy@xxxxxxxxx>

Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>