[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251104144824.19648-1-equinox@diac24.net>
Date: Tue, 4 Nov 2025 09:48:18 -0500
From: David Lamparter <equinox@...c24.net>
To: netdev@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>
Cc: David Lamparter <equinox@...c24.net>,
Lorenzo Colitti <lorenzo@...gle.com>,
Patrick Rohr <prohr@...gle.com>
Subject: [RESEND PATCH net-next v2 0/4] net/ipv6: RFC6724 rule 5.5 preparations
Hi all,
Jakub, you had asked me a little while ago to resend this at a later
point not shortly before the merge window closes. Unfortunately I don't
do enough kernel work to track when that is (sorry), so here goes
nothing I guess. I'm still trying to get Patrick or Lorenzo to look at
this and throw a Reviewed-by.
To emphasise, these patches **should not change any behavior**.
following 4 patches are preparations for RFC6724 (IPv6 source address
selection) rule 5.5, which says "prefer addresses announced by the
router you're using". The changes here just pass down the route into
the source address selection code, it's not used for anything yet. I
have the actual 6724 rule 5.5 code working and am putting together
kernel self-tests currently.
Cheers,
David
David Lamparter (4):
net/ipv6: flatten ip6_route_get_saddr
net/ipv6: create ipv6_fl_get_saddr
net/ipv6: use ipv6_fl_get_saddr in output
net/ipv6: drop ip6_route_get_saddr
include/net/addrconf.h | 4 ++++
include/net/ip6_route.h | 26 ------------------------
net/ipv6/addrconf.c | 45 +++++++++++++++++++++++++++++++----------
net/ipv6/ip6_output.c | 25 +++++++++++++++++------
net/ipv6/route.c | 16 ++++++++++++---
5 files changed, 70 insertions(+), 46 deletions(-)
--
2.50.1
Powered by blists - more mailing lists