For a plain Linux bridge we have a safety mechanism before applying multicast snooping to payload IP packets in the fast path: We only apply it if both multicast snooping is enabled and an active IGMP/MLD querier was detected. Otherwise we default to flooding IPv4/IPv6 multicast traffic.
This reduces the risk of creating multicast packet loss and by that packet loss for IPv6 unicast, too, which relies on multicast to work. Without an active IGMP/MLD querier on the link we are not able to get IGMP/MLD reports reliably and by that wouldn't have a complete picture about all multicast listeners. This safety mechanism was introduced in commit b00589af3b04 ("bridge: disable snooping if there is no querier"). To be able to use this safty mechanism on DSA/switchdev capable hardware switches, too, and to ensure that a DSA bridge behaves similar to a plain software bridge this patchset adds a new variable to track if multicast snooping is active / safely applicable. And notifies DSA and switchdev when this changes. This has been tested on an OpenWrt powered Realtek RTL8382 switch, a ZyXEL GS1900-24HP v1, with the following, pending patchset for OpenWrt to integrate this: https://github.com/openwrt/openwrt/pull/18780 Regards, Linus _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel