From: David Ahern <dsahern@gmail.com>
To: Sukumar Gopalakrishnan <sukumarg1973@gmail.com>, netdev@vger.kernel.org
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 [thread overview]
Message-ID: <08369f97-ad0e-3a9c-4a18-ec63d76a1901@gmail.com> (raw)
In-Reply-To: <CADiZnkTJqH70iwpKmfCKo68-5T+aaq27gNNu76toWL6LAyeEcg@mail.gmail.com>
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;
>
> ..
> ..
> }
>
prev parent reply other threads:[~2018-05-04 3:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-30 12:58 VRF: ICMPV6 Echo Reply failed to egress if ingress pkt Src is IPV6 Global and Dest is IPV6 Link Local Sukumar Gopalakrishnan
2018-05-04 3:32 ` David Ahern [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08369f97-ad0e-3a9c-4a18-ec63d76a1901@gmail.com \
--to=dsahern@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=sukumarg1973@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox