Re: VRF: ICMPV6 Echo Reply failed to egress if ingress pkt Src is IPV6 Global and Dest is IPV6 Link Local.
From: David Ahern <hidden>
Date: 2018-05-04 03:32:47
From: David Ahern <hidden>
Date: 2018-05-04 03:32:47
On 4/30/18 6:58 AM, Sukumar Gopalakrishnan wrote:
VRF: ICMPV6 Echo Reply failed to egress if ingress pkt Src is IPV6 Global and Dest is IPV6 Link Local.
...
if (fl6->flowi6_oif == dev->ifindex) {try adding ' && !rt6_need_strict(saddr)' to the above. If it works, add a comment above the line noting this case (link local dest and global source) submit a patch.
dst = &net->ipv6.ip6_null_entry->dst;
dst_hold(dst);
return dst;
}
..
TEMP FIX:
=========
Return Ingress vlan device's ifIndex instead of skb->dev's.
static int icmp6_iif(const struct sk_buff *skb)
{
int iif = IP6CB(skb)->iif; // skb->dev->ifindex;
..
..
}