mcastmngr: Airoha multicast snooping needs to be toggled to work.

We need to flush the mdb entries when configuring multicast
snooping on Airoha.

This commit fixes a bug where blocking multicast snooping doesn't
work.
This commit is contained in:
Markus Gothe 2024-05-07 16:42:52 +02:00
parent e3be97f48e
commit 0709b46a63

View file

@ -117,6 +117,7 @@ config_sysfs_mcast_snooping() {
for downstream in $downstreams; do
if device_is_bridge "$downstream"; then
echo 0 > /sys/class/net/$downstream/bridge/multicast_snooping
echo $snooping > /sys/class/net/$downstream/bridge/multicast_snooping
fi
done