netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH net-next v2 0/4] net/ipv6: RFC6724 rule 5.5 preparations
@ 2025-11-04 14:48 David Lamparter
  2025-11-04 14:48 ` [RESEND PATCH net-next v2 1/4] net/ipv6: flatten ip6_route_get_saddr David Lamparter
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: David Lamparter @ 2025-11-04 14:48 UTC (permalink / raw)
  To: netdev, Jakub Kicinski; +Cc: David Lamparter, Lorenzo Colitti, Patrick Rohr

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-11-11  9:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-04 14:48 [RESEND PATCH net-next v2 0/4] net/ipv6: RFC6724 rule 5.5 preparations David Lamparter
2025-11-04 14:48 ` [RESEND PATCH net-next v2 1/4] net/ipv6: flatten ip6_route_get_saddr David Lamparter
2025-11-04 17:52   ` Lorenzo Colitti
2025-11-04 14:48 ` [RESEND PATCH net-next v2 2/4] net/ipv6: create ipv6_fl_get_saddr David Lamparter
2025-11-04 17:51   ` Lorenzo Colitti
2025-11-04 20:47     ` David Lamparter
2025-11-04 21:16       ` David Lamparter
2025-11-11  9:50   ` Paolo Abeni
2025-11-04 14:48 ` [RESEND PATCH net-next v2 3/4] net/ipv6: use ipv6_fl_get_saddr in output David Lamparter
2025-11-04 17:52   ` Lorenzo Colitti
2025-11-11  9:56   ` Paolo Abeni
2025-11-04 14:48 ` [RESEND PATCH net-next v2 4/4] net/ipv6: drop ip6_route_get_saddr David Lamparter
2025-11-04 17:51   ` Lorenzo Colitti

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).