Re: [PATCH] ipv6: preserve insertion order for same-scope addresses
From: Jakub Kicinski
Date: Wed Nov 26 2025 - 09:58:25 EST
On Wed, 26 Nov 2025 16:37:14 +0800 Yumei Huang wrote:
> IPv6 addresses with the same scope were returned in reverse insertion
> order, unlike IPv4. For example, when adding a -> b -> c, the list was
> reported as c -> b -> a, while IPv4 preserved the original order.
>
> This patch aligns IPv6 address ordering with IPv4 for consistency.
This breaks the ioam6.sh test:
https://netdev-3.bots.linux.dev/vmksft-net-dbg/results/402461/16-ioam6-sh/stdout
https://netdev-3.bots.linux.dev/vmksft-net/results/402461/14-ioam6-sh/stdout
--
pw-bot: cr