From: David Ahern <dsahern@gmail.com>
To: "Guodeqing (A)" <geffrey.guo@huawei.com>,
"davem@davemloft.net" <davem@davemloft.net>
Cc: "kuznet@ms2.inr.ac.ru" <kuznet@ms2.inr.ac.ru>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"dsa@cumulusnetworks.com" <dsa@cumulusnetworks.com>,
"kuba@kernel.org" <kuba@kernel.org>
Subject: Re: 答复: [PATCH] net: Fix the arp error in some cases
Date: Wed, 17 Jun 2020 06:44:44 -0600 [thread overview]
Message-ID: <8ca4f200-11e8-c82d-9c87-7b98d557f6a5@gmail.com> (raw)
In-Reply-To: <55929b71c9b24aeeba760585fc59497f@huawei.com>
On 6/16/20 9:38 PM, Guodeqing (A) wrote:
> rt_set_nexthop in __mkroute_output will check the nh->nh_scope value to determine whether to use the gw or not.
> if (nh->nh_gw && nh->nh_scope == RT_SCOPE_LINK) {
> rt->rt_gateway = nh->nh_gw;
> rt->rt_uses_gateway = 1;
> }
>
> (ip_route_output_key_hash-> ip_route_output_key_hash_rcu-> __mkroute_output-> rt_set_nexthop)
>
ok, I see now. Thanks.
Reviewed-by: David Ahern <dsahern@gmail.com>
next prev parent reply other threads:[~2020-06-17 12:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 2:07 [PATCH] net: Fix the arp error in some cases guodeqing
2020-06-17 3:10 ` David Ahern
2020-06-17 3:38 ` 答复: " Guodeqing (A)
2020-06-17 12:44 ` David Ahern [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-06-13 6:49 guodeqing
2020-06-13 14:31 ` David Ahern
2020-06-15 2:48 ` 答复: " Guodeqing (A)
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=8ca4f200-11e8-c82d-9c87-7b98d557f6a5@gmail.com \
--to=dsahern@gmail.com \
--cc=davem@davemloft.net \
--cc=dsa@cumulusnetworks.com \
--cc=geffrey.guo@huawei.com \
--cc=kuba@kernel.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@vger.kernel.org \
/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