Commit ddf64354 authored by Hannes Frederic Sowa's avatar Hannes Frederic Sowa Committed by David S. Miller
Browse files

ipv6: stop multicast forwarding to process interface scoped addresses

a) used struct ipv6_addr_props

a) reverted changes for ipv6_addr_props

a) do not use __ipv6_addr_needs_scope_id

Cc: YOSHIFUJI Hideaki <>
Signed-off-by: default avatarHannes Frederic Sowa <>
Acked-by: default avatarYOSHIFUJI Hideaki <>
Signed-off-by: default avatarDavid S. Miller <>
parent 3bc1b1ad
......@@ -281,7 +281,8 @@ int ip6_mc_input(struct sk_buff *skb)
* IPv6 multicast router mode is now supported ;)
if (dev_net(skb->dev)->ipv6.devconf_all->mc_forwarding &&
!(ipv6_addr_type(&hdr->daddr) & IPV6_ADDR_LINKLOCAL) &&
!(ipv6_addr_type(&hdr->daddr) &
likely(!(IP6CB(skb)->flags & IP6SKB_FORWARDED))) {
* Okay, we try to forward - split and duplicate
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment