[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1740129498.git.gnault@redhat.com>
Date: Fri, 21 Feb 2025 10:23:57 +0100
From: Guillaume Nault <gnault@...hat.com>
To: David Miller <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Eric Dumazet <edumazet@...gle.com>
Cc: netdev@...r.kernel.org, Simon Horman <horms@...nel.org>,
David Ahern <dsahern@...nel.org>,
Antonio Quartulli <antonio@...delbit.com>
Subject: [PATCH net v2 0/2] gre: Fix regressions in IPv6 link-local address
generation.
IPv6 link-local address generation has some special cases for GRE
devices. This has led to several regressions in the past, and some of
them are still not fixed. This series fixes the remaining problems,
like the ipv6.conf.<dev>.addr_gen_mode sysctl being ignored and the
router discovery process not being started (see details in patch 1).
To avoid any further regressions, patch 2 adds selftests covering
IPv4 and IPv6 gre/gretap devices with all combinations of currently
supported addr_gen_mode values.
v2: Add Makefile entry for the new selftest (patch 2).
Guillaume Nault (2):
gre: Fix IPv6 link-local address generation.
selftests: Add IPv6 link-local address generation tests for GRE
devices.
net/ipv6/addrconf.c | 15 +-
tools/testing/selftests/net/Makefile | 1 +
.../testing/selftests/net/gre_ipv6_lladdr.sh | 227 ++++++++++++++++++
3 files changed, 237 insertions(+), 6 deletions(-)
create mode 100755 tools/testing/selftests/net/gre_ipv6_lladdr.sh
--
2.39.2
Powered by blists - more mailing lists