Revert "ip: fix dflt addr selection for connected nexthop"
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 20 Oct 2022 10:09:51 +0000 (12:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Oct 2022 17:17:36 +0000 (10:17 -0700)
commite021c329ee198f1cd0cb3855f221137dda49256a
treed99513f4eec171bb01614d9e7c3005a6bc89c746
parent745b913a59947919454658dd44cddf5ee8d8f899
Revert "ip: fix dflt addr selection for connected nexthop"

This reverts commit 747c14307214b55dbd8250e1ab44cad8305756f1.

As explained by Julian, nhc_scope is related to nhc_gw, not to the route.
Revert the original patch. The initial problem is fixed differently in the
next commit.

Link: https://lore.kernel.org/netdev/6c8a44ba-c2d5-cdf-c5c7-5baf97cba38@ssi.bg/
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/fib_semantics.c