[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8ca4f200-11e8-c82d-9c87-7b98d557f6a5@gmail.com>
Date: Wed, 17 Jun 2020 06:44:44 -0600
From: David Ahern <dsahern@...il.com>
To: "Guodeqing (A)" <geffrey.guo@...wei.com>,
"davem@...emloft.net" <davem@...emloft.net>
Cc: "kuznet@....inr.ac.ru" <kuznet@....inr.ac.ru>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"dsa@...ulusnetworks.com" <dsa@...ulusnetworks.com>,
"kuba@...nel.org" <kuba@...nel.org>
Subject: Re: 答复: [PATCH] net: Fix the arp error in some cases
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@...il.com>
Powered by blists - more mailing lists