Re: [PATCH net v2 0/2] ipv6: ignore link state in gateway check

From: Ido Schimmel

Date: Sun Nov 08 2026 - 09:29:38 EST


On Wed, Nov 04, 2026 at 07:56:53PM +0000, Yaroslav Dudkov wrote:
> IPv6 gateway validation can reject routes in non-main tables when
> ignore_routes_with_linkdown is enabled and the nexthop device has
> no carrier, even though these routes should be added.
>
> Fix this by ignoring link state during gateway validation and add a
> regression selftest covering IPv4 and IPv6 route installation.
>
> Changes in v2:
> - Fix variable ordering.
> - Add a regression selftest.
>
> v1: https://lore.kernel.org/netdev/20261028152634.3355852-1-aroslavdudkov622@xxxxxxxxx/

Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>