Thread (29 messages) 29 messages, 12 authors, 2026-06-05

Re: [PATCH net v2] Revert "ipv6: preserve insertion order for same-scope addresses"

flat view

From: Matthieu Baerts <matttbe@kernel.org>
Date: 2026-06-03 05:46:25
Also in: regressions


On 02/06/2026 00:01, Íñigo Huguet wrote:
On Mon, Jun 1, 2026 at 3:35 PM Stefano Brivio [off-list ref] wrote:
quoted
I was thinking that if we implement a label like NLM_F_INSERT_LAST
(David's proposal for the name), we could patch iproute2 to set it on
'ip address restore' at least, other than using it in pasta(1).
(...)
What if we reapply the patch and add a NLM_F_INSERT_FIRST /
NLM_F_PREPEND option instead? This will break UAPI, which is bad, but
probably not too bad per the conversations in this and the other
thread. 
I guess it is safer not to break UAPI and not reapplying the patch,
especially when there is no clear way to know which order is taken by
the kernel.

What about clearly stating that the default order is "random", except
when an additional flag is set to sort them chronologically or the opposite?

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help