netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] net/ipv6: RFC6724 rule 5.5 preparations
@ 2025-07-24 15:00 David Lamparter
  2025-07-24 15:00 ` [PATCH net-next v2 1/4] net/ipv6: flatten ip6_route_get_saddr David Lamparter
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: David Lamparter @ 2025-07-24 15:00 UTC (permalink / raw)
  To: netdev, David Ahern, David S. Miller
  Cc: David Lamparter, Lorenzo Colitti, Patrick Rohr

Hi all,


let's try this again, this time without accidentally shadowing the 'err'
variable.  Sigh.  (Apologies for the immediate v2.)

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.
(Any change of behavior from these patches is a mistake on my end.)

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


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

end of thread, other threads:[~2025-07-26 11:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-24 15:00 [PATCH net-next v2 0/4] net/ipv6: RFC6724 rule 5.5 preparations David Lamparter
2025-07-24 15:00 ` [PATCH net-next v2 1/4] net/ipv6: flatten ip6_route_get_saddr David Lamparter
2025-07-24 15:00 ` [PATCH net-next v2 2/4] net/ipv6: create ipv6_fl_get_saddr David Lamparter
2025-07-24 15:00 ` [PATCH net-next v2 3/4] net/ipv6: use ipv6_fl_get_saddr in output David Lamparter
2025-07-24 15:00 ` [PATCH net-next v2 4/4] net/ipv6: drop ip6_route_get_saddr David Lamparter
2025-07-26  0:39 ` [PATCH net-next v2 0/4] net/ipv6: RFC6724 rule 5.5 preparations Jakub Kicinski
2025-07-26 11:29   ` David Lamparter

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