mirror-linux/tools/testing/selftests
Fernando Fernandez Mancera 072aa0f5c3 Revert "ipv6: preserve insertion order for same-scope addresses"
Chris Adams reported that preserving insertion order for same-scope
addresses is causing SSH connections to be dropped after stopping a VM
while running NetworkManager.

NetworkManager caches the IPv6 address configuration, when a RA arrives,
it determines the list of addresses to configure and checks if the
addresses are already in the right order in the kernel. If they aren't,
NetworkManager removes and re-adds them to achieve the desired order.

As the order changes, NetworkManager is confused and reconfigures the
addresses on every update. In addition, this would also affect to cloud
tooling that relies on IPv6 addresses order to identify primary and
secondaries addresses.

This reverts commit cb3de96eea.

Fixes: cb3de96eea ("ipv6: preserve insertion order for same-scope addresses")
Reported-by: Chris Adams <linux@cmadams.net>
Closes: https://lore.kernel.org/netdev/20260521135310.GC977@cmadams.net/
Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Link: https://patch.msgid.link/20260529112357.5079-1-fmancera@suse.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-29 13:00:54 -07:00
..
acct
alsa selftests: ALSA: Skip utimer test when CONFIG_SND_UTIMER is not enabled 2026-03-27 14:40:18 +01:00
amd-pstate
arm64 kselftest/arm64: Include <asm/ptrace.h> for user_gcs definition 2026-05-01 15:17:59 +01:00
bpf bpf-fixes 2026-05-24 09:53:17 -07:00
breakpoints selftests: fix ARCH normalization to handle command-line argument 2026-03-27 21:19:44 -07:00
cachestat
capabilities
cgroup selftests/cgroup: Fix error path leaks in test_percpu_basic 2026-05-13 08:40:52 -10:00
clone3
connector
core
coredump selftests: check pidfd_info->coredump_code correctness 2026-03-23 16:29:15 +01:00
cpu-hotplug selftests/cpu-hotplug: Fix check for cpu hotplug not supported 2026-03-31 16:07:19 -06:00
cpufreq
damon selftests/damon/sysfs.py: test goal_tuner commit 2026-04-05 13:53:26 -07:00
devices
dm-verity selftests: add dm-verity keyring selftests 2026-01-19 15:21:26 +01:00
dmabuf-heaps
drivers selftests: drv-net: add shaper test for duplicate leaves 2026-05-12 16:14:59 +02:00
dt
efivarfs
exec
fchmodat2 selftests/fchmodat2: use ksft_finished() 2026-03-27 21:19:37 -07:00
filelock
filesystems vfs-7.1-rc1.mount.v2 2026-04-14 19:59:25 -07:00
firmware
fpu
ftrace selftests/ftrace: Add a testcase for multiple fprobe events 2026-04-22 09:26:46 +09:00
futex selftests/futex: Bump up libnuma version check 2026-03-24 22:59:59 +01:00
gpio selftests: gpio: Add gpio-cdev-uaf tests 2026-02-27 10:05:22 +01:00
hid selftests/hid: fix compilation when bpf_wq and hid_device are not exported 2026-03-16 16:21:06 +01:00
ia64
intel_pstate
iommu iommufd/selftest: Test dirty tracking on PASID 2026-04-02 09:26:05 +02:00
ipc selftests: fix ARCH normalization to handle command-line argument 2026-03-27 21:19:44 -07:00
ir
kcmp
kexec
kho kho: remove finalize state and clients 2026-04-05 13:53:04 -07:00
kmod
kselftest selftests: Fix duplicated test number reporting 2026-04-17 11:29:03 -06:00
kselftest_harness selftests: harness: Validate intermixing of kselftest and harness functionality 2026-03-31 13:48:34 -06:00
kvm KVM: selftests: Verify that KVM returns the configured APIC cycle length 2026-05-23 10:07:40 +02:00
landlock selftests/landlock: Simplify ruleset creation and enforcement in fs_test 2026-04-07 18:51:10 +02:00
lib
livepatch Merge branch 'for-7.1/module-function-test' into for-linus 2026-04-16 10:33:43 +02:00
liveupdate selftests: liveupdate: add test for double preservation 2026-04-18 00:10:49 -07:00
lkdtm lkdtm/fortify: Drop unneeded FORTIFY_STR_OBJECT test 2026-03-31 16:53:47 -07:00
locking
lsm
media_tests
membarrier
memfd selftests/memfd: use IPC semaphore instead of SIGSTOP/SIGCONT 2026-02-12 15:45:57 -08:00
memory-hotplug
mincore
mm mm/memory: fix spurious warning when unmapping device-private/exclusive pages 2026-05-13 17:40:03 -07:00
module
mount
mount_setattr selftests/mount_setattr: increase tmpfs size for idmapped mount tests 2026-03-17 16:59:45 +01:00
move_mount_set_group
mqueue selftests/mqueue: Fix incorrectly named file 2026-03-31 15:01:51 -06:00
mseal_system_mappings
namespaces selftests/namespaces: remove unused utils.h include from listns_efault_test 2026-04-14 09:31:18 +02:00
nci
net Revert "ipv6: preserve insertion order for same-scope addresses" 2026-05-29 13:00:54 -07:00
nolibc selftests/nolibc: use gcc 15 2026-04-09 23:25:45 +02:00
ntb
openat2
pci_endpoint selftests: pci_endpoint: Skip BAR subrange test on -ENOSPC 2026-04-08 14:41:39 -05:00
pcie_bwctrl
perf_events
pid_namespace selftests: Add tests for creating pidns init via setns 2026-03-20 14:44:26 +01:00
pidfd selftests: check pidfd_info->coredump_code correctness 2026-03-23 16:29:15 +01:00
power_supply
powerpc selftests/powerpc: Suppress -Wmaybe-uninitialized with GCC 15 2026-04-01 09:21:04 +05:30
prctl selftests: fix ARCH normalization to handle command-line argument 2026-03-27 21:19:44 -07:00
proc
pstore
ptp selftests: ptp: treat unsupported PHC operations as skip 2026-01-27 17:57:28 -08:00
ptrace
rcutorture rcutorture: Add NOCB02 config for nocb poll mode testing 2026-03-30 15:48:14 -04:00
rdma selftests/rdma: explicitly skip tests when required modules are missing 2026-05-13 14:28:59 -04:00
resctrl
ring-buffer
riscv selftests: riscv: Add license to cfi selftest 2026-04-04 18:42:41 -06:00
rlimits
rseq selftests/rseq: Expand for optimized RSEQ ABI v2 2026-05-06 17:41:08 +02:00
rtc
rust
safesetid
sched
sched_ext selftests/sched_ext: Fix build error in dequeue selftest 2026-05-10 16:03:05 -10:00
seccomp selftests/seccomp: Add hard-coded __NR_uprobe for x86_64 2026-04-03 08:41:38 -07:00
sgx
signal
size
sparc64 selftests: fix ARCH normalization to handle command-line argument 2026-03-27 21:19:44 -07:00
splice
static_keys
sync
syscall_user_dispatch
sysctl
tc-testing selftests/tc-testing: Add netem test case exercising loops 2026-05-28 12:26:37 +02:00
tdx
thermal/intel selftests: fix ARCH normalization to handle command-line argument 2026-03-27 21:19:44 -07:00
timens
timers
tmpfs
tpm2
tty
turbostat
ublk selftests: ublk: cap nthreads to kernel's actual nr_hw_queues 2026-05-13 07:55:39 -06:00
uevent
user_events
vDSO selftests: vDSO: vdso_test_correctness: Add a test for time() 2026-03-11 15:23:24 +01:00
verification
vfio vfio: selftests: Support DMR and GNR-D DSA devices 2026-03-20 13:54:51 -06:00
vsock selftests/vsock: fix vsock_test path shadowing in nested VMs 2026-03-20 18:34:48 -07:00
watchdog
wireguard watchdog: softlockup: panic when lockup duration exceeds N thresholds 2026-01-20 19:44:20 -08:00
x86 selftests/x86: Clean up sysret_rip coding style 2026-01-19 12:06:11 +01:00
zram
.gitignore
Makefile linux_kselftest-next-7.1-next-fixes 2026-04-20 17:19:30 -07:00
gen_kselftest_tar.sh
kselftest.h selftests: kselftest: fix wrong test number in ksft_exit_skip 2026-04-27 10:48:24 -06:00
kselftest_deps.sh
kselftest_harness.h selftests: harness: Restore order of test functions 2026-04-27 10:48:35 -06:00
kselftest_install.sh
kselftest_module.h
lib.mk
run_kselftest.sh selftests/run_kselftest.sh: Allow choosing per-test log directory 2026-04-13 11:05:39 -06:00