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

From: Ido Schimmel

Date: Mon Mar 09 2026 - 09:45:46 EST


On Sat, Mar 07, 2026 at 05:45:42AM +0100, Linus Lüssing wrote:
> To be able to use the upcoming SWITCHDEV_ATTR_ID_BRIDGE_MC_ACTIVE
> as a potential replacement for SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED
> also check and toggle the active state if multicast snooping is enabled
> or disabled. So that MC_ACTIVE not only checks the querier state, but
> also if multicast snooping is enabled in general.
>
> No functional change for the fast/data path yet.
>
> Signed-off-by: Linus Lüssing <linus.luessing@xxxxxxxxx>

Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>