OSDN Git Service

Merge branch 'for-4.20-fixes' into for-4.21
[uclinux-h8/linux.git] / net / bridge / br_multicast.c
index 41cdafb..6bac0d6 100644 (file)
@@ -1428,8 +1428,7 @@ static void br_multicast_query_received(struct net_bridge *br,
         * is 0.0.0.0 should not be added to router port list.
         */
        if ((saddr->proto == htons(ETH_P_IP) && saddr->u.ip4) ||
-           (saddr->proto == htons(ETH_P_IPV6) &&
-            !ipv6_addr_any(&saddr->u.ip6)))
+           saddr->proto == htons(ETH_P_IPV6))
                br_multicast_mark_router(br, port);
 }