aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bridge/br_multicast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index 10e6fce1bb62..81d51b859a59 100644
--- a/net/bridge/br_multicast.c
+++ b/net/bridge/br_multicast.c
@@ -1368,7 +1368,7 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br,
1368 return -EINVAL; 1368 return -EINVAL;
1369 1369
1370 if (iph->protocol != IPPROTO_IGMP) { 1370 if (iph->protocol != IPPROTO_IGMP) {
1371 if ((iph->daddr & IGMP_LOCAL_GROUP_MASK) != IGMP_LOCAL_GROUP) 1371 if (!ipv4_is_local_multicast(iph->daddr))
1372 BR_INPUT_SKB_CB(skb)->mrouters_only = 1; 1372 BR_INPUT_SKB_CB(skb)->mrouters_only = 1;
1373 return 0; 1373 return 0;
1374 } 1374 }