[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1734357769.git.gnault@redhat.com>
Date: Mon, 16 Dec 2024 18:21:40 +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>,
James Chapman <jchapman@...alix.com>,
Tom Parkin <tparkin@...alix.com>
Subject: [PATCH net-next 0/5] ipv4: Consolidate route lookups from IPv4
sockets.
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
Powered by blists - more mailing lists