netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] ipv4: Consolidate route lookups from IPv4 sockets.
@ 2024-12-16 17:21 Guillaume Nault
  2024-12-16 17:21 ` [PATCH net-next 1/5] ipv4: Define inet_sk_init_flowi4() and use it in inet_sk_rebuild_header() Guillaume Nault
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Guillaume Nault @ 2024-12-16 17:21 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Paolo Abeni, Eric Dumazet
  Cc: netdev, Simon Horman, David Ahern, James Chapman, Tom Parkin

Create inet_sk_init_flowi4() so that the different IPv4 code paths that
need to do a route lookup based on an IPv4 socket don't need to
reimplement that logic.

Guillaume Nault (5):
  ipv4: Define inet_sk_init_flowi4() and use it in
    inet_sk_rebuild_header().
  ipv4: Use inet_sk_init_flowi4() in ip4_datagram_release_cb().
  ipv4: Use inet_sk_init_flowi4() in inet_csk_rebuild_route().
  ipv4: Use inet_sk_init_flowi4() in __ip_queue_xmit().
  l2tp: Use inet_sk_init_flowi4() in l2tp_ip_sendmsg().

 include/net/route.h             | 28 ++++++++++++++++++++++++++++
 net/ipv4/af_inet.c              | 14 ++------------
 net/ipv4/datagram.c             | 11 ++---------
 net/ipv4/inet_connection_sock.c | 11 ++---------
 net/ipv4/ip_output.c            | 16 ++++------------
 net/l2tp/l2tp_ip.c              | 19 ++++++-------------
 6 files changed, 44 insertions(+), 55 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-12-20 22:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-16 17:21 [PATCH net-next 0/5] ipv4: Consolidate route lookups from IPv4 sockets Guillaume Nault
2024-12-16 17:21 ` [PATCH net-next 1/5] ipv4: Define inet_sk_init_flowi4() and use it in inet_sk_rebuild_header() Guillaume Nault
2024-12-16 17:21 ` [PATCH net-next 2/5] ipv4: Use inet_sk_init_flowi4() in ip4_datagram_release_cb() Guillaume Nault
2024-12-16 17:21 ` [PATCH net-next 3/5] ipv4: Use inet_sk_init_flowi4() in inet_csk_rebuild_route() Guillaume Nault
2024-12-16 17:21 ` [PATCH net-next 4/5] ipv4: Use inet_sk_init_flowi4() in __ip_queue_xmit() Guillaume Nault
2024-12-16 17:21 ` [PATCH net-next 5/5] l2tp: Use inet_sk_init_flowi4() in l2tp_ip_sendmsg() Guillaume Nault
2024-12-17  8:00   ` James Chapman
2024-12-20 22:10 ` [PATCH net-next 0/5] ipv4: Consolidate route lookups from IPv4 sockets patchwork-bot+netdevbpf

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