]> git.karo-electronics.de Git - linux-beck.git/blobdiff - net/bridge/br_mdb.c
bridge: apply multicast snooping to IPv6 link-local, too
[linux-beck.git] / net / bridge / br_mdb.c
index e4d5cd43b7fbd2596ab9c785e91273ba64626f97..de818d95c476190ab70966eeebfc68f0f0b05a4d 100644 (file)
@@ -9,6 +9,7 @@
 #include <net/netlink.h>
 #if IS_ENABLED(CONFIG_IPV6)
 #include <net/ipv6.h>
+#include <net/addrconf.h>
 #endif
 
 #include "br_private.h"
@@ -254,7 +255,7 @@ static bool is_valid_mdb_entry(struct br_mdb_entry *entry)
                        return false;
 #if IS_ENABLED(CONFIG_IPV6)
        } else if (entry->addr.proto == htons(ETH_P_IPV6)) {
-               if (!ipv6_is_transient_multicast(&entry->addr.u.ip6))
+               if (ipv6_addr_is_ll_all_nodes(&entry->addr.u.ip6))
                        return false;
 #endif
        } else