Re: [PATCH v2] net/ipv6: allow device-only routes via the multipath API
From: Nicolas Dichtel <hidden>
Date: 2025-11-28 16:28:43
Also in:
lkml
From: Nicolas Dichtel <hidden>
Date: 2025-11-28 16:28:43
Also in:
lkml
Le 28/11/2025 à 16:54, azey a écrit :
quoted
On 2025-11-28 09:38:07 +0100 Nicolas Dichtel [off-list ref] wrote:quoted
With IPv6, unlike IPv4, the ECMP next hops can be added one by one. Your commit doesn't allow this:Hold on, I think I understand what you actually meant by this, sorry. I got too focused on regressions from the discussion in v1, I'll make a v3 of the patch that allows dev-only routes to be added via append.
Yes, that is what I pointed out. Please, add some self-tests to show that there is no regression. You probably have to test different combinations of NLM_F_* flags. See: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/ip/iproute.c#n2418