From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: VRF: ICMPV6 Echo Reply failed to egress if ingress pkt Src is IPV6 Global and Dest is IPV6 Link Local. Date: Thu, 3 May 2018 21:32:44 -0600 Message-ID: <08369f97-ad0e-3a9c-4a18-ec63d76a1901@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Sukumar Gopalakrishnan , netdev@vger.kernel.org Return-path: Received: from mail-pg0-f43.google.com ([74.125.83.43]:37984 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbeEDDcr (ORCPT ); Thu, 3 May 2018 23:32:47 -0400 Received: by mail-pg0-f43.google.com with SMTP id n9-v6so14546584pgq.5 for ; Thu, 03 May 2018 20:32:47 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: 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; > > .. > .. > } >