netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Yumei Huang <yuhuang@redhat.com>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	sbrivio@redhat.com, david@gibson.dropbear.id.au,
	davem@davemloft.net, dsahern@kernel.org, edumazet@google.com,
	pabeni@redhat.com, horms@kernel.org
Subject: Re: [PATCH] ipv6: preserve insertion order for same-scope addresses
Date: Wed, 26 Nov 2025 06:58:18 -0800	[thread overview]
Message-ID: <20251126065818.581b2c9b@kernel.org> (raw)
In-Reply-To: <20251126083714.115172-1-yuhuang@redhat.com>

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

  reply	other threads:[~2025-11-26 14:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-26  8:37 [PATCH] ipv6: preserve insertion order for same-scope addresses Yumei Huang
2025-11-26 14:58 ` Jakub Kicinski [this message]
2025-11-28  6:38   ` Yumei Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251126065818.581b2c9b@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=david@gibson.dropbear.id.au \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sbrivio@redhat.com \
    --cc=yuhuang@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).