Re: [PATCH net-next v2 04/14] net: bridge: mcast: track active state, IGMP/MLD querier appearance
From: Ido Schimmel
Date: Sun Feb 08 2026 - 11:08:22 EST
On Fri, Feb 06, 2026 at 03:52:10AM +0100, Linus Lüssing wrote:
> +static void br_multicast_notify_active(struct net_bridge_mcast *brmctx,
> + bool ip4_active_old, bool ip6_active_old)
> +{
> + if (brmctx->ip4_active == ip4_active_old &&
> + brmctx->ip6_active == ip6_active_old)
> + return;
> +
> + br_info(brmctx->br, "mc_active changed, vid: %i: v4: %i->%i, v6: %i->%i\n",
> + brmctx->vlan ? brmctx->vlan->vid : -1,
> + ip4_active_old, brmctx->ip4_active,
> + ip6_active_old, brmctx->ip6_active);
Make this br_debug() to avoid spamming the kernel log?
I am aware that this can also be notified over netlink, but it will add
extra complexity and I am not sure anyone will use, so it might be best
to defer it for now.
> +}