From: David Ahern <dsahern@gmail•com>
To: Wei Wang <weiwan@google•com>, David Ahern <dsahern@kernel•org>
Cc: "David S . Miller" <davem@davemloft•net>,
Linux Kernel Network Developers <netdev@vger•kernel.org>,
Martin KaFai Lau <kafai@fb•com>
Subject: Re: [PATCH net-next] ipv6: Convert gateway validation to use fib6_info
Date: Thu, 20 Jun 2019 18:52:56 -0600 [thread overview]
Message-ID: <7bc15499-6b44-67c5-e97f-b8d776be0a14@gmail.com> (raw)
In-Reply-To: <CAEA6p_BUSFUCJJ_WsAAM2JRhQBBHjUepNZPpFX6DrTSCancD_g@mail.gmail.com>
On 6/20/19 5:43 PM, Wei Wang wrote:
> I am not very convinced that fib6_lookup() could be equivalent to
> rt6_lookup(). Specifically, rt6_lookup() calls rt6_device_match()
> while fib6_lookup() calls rt6_select() to match the oif. From a brief
> glance, it does seem to be similar, especially considering that saddr
> is NULL. So it probably is OK?
I believe so, but I'll walk the 2 paths again and do the compare based
on the limited flags and inputs for the gateway validation.
next prev parent reply other threads:[~2019-06-21 0:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-20 19:05 [PATCH net-next] ipv6: Convert gateway validation to use fib6_info David Ahern
2019-06-20 23:43 ` Wei Wang
2019-06-21 0:52 ` David Ahern [this message]
2019-06-21 21:04 ` David Ahern
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=7bc15499-6b44-67c5-e97f-b8d776be0a14@gmail.com \
--to=dsahern@gmail$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=dsahern@kernel$(echo .)org \
--cc=kafai@fb$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=weiwan@google$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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