aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ip6_input.c')
-rw-r--r--net/ipv6/ip6_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c
index 7e36269826ba..43a617e2268b 100644
--- a/net/ipv6/ip6_input.c
+++ b/net/ipv6/ip6_input.c
@@ -234,8 +234,7 @@ int ip6_mc_input(struct sk_buff *skb)
234 IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_INMCASTPKTS); 234 IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_INMCASTPKTS);
235 235
236 hdr = ipv6_hdr(skb); 236 hdr = ipv6_hdr(skb);
237 deliver = unlikely(skb->dev->flags & (IFF_PROMISC|IFF_ALLMULTI)) || 237 deliver = ipv6_chk_mcast_addr(skb->dev, &hdr->daddr, NULL);
238 ipv6_chk_mcast_addr(skb->dev, &hdr->daddr, NULL);
239 238
240 /* 239 /*
241 * IPv6 multicast router mode isnt currently supported. 240 * IPv6 multicast router mode isnt currently supported.