Re: [PATCH net-next v2 08/14] net: bridge: mcast: track active state, if snooping is enabled

From: Ido Schimmel

Date: Sun Feb 08 2026 - 11:11:05 EST


On Fri, Feb 06, 2026 at 03:52:14AM +0100, Linus Lüssing wrote:
> @@ -4471,6 +4481,7 @@ void br_multicast_toggle_one_vlan(struct net_bridge_vlan *vlan, bool on)
>
> spin_lock_bh(&br->multicast_lock);
> vlan->priv_flags ^= BR_VLFLAG_MCAST_ENABLED;
> + br_multicast_update_active(&vlan->br_mcast_ctx);

Can you move this to the next patch so that this patch is only about the
global multicast snooping and the next patch is about the per-vlan
multicast snooping?

>
> if (on)
> __br_multicast_open(&vlan->br_mcast_ctx);