From: Guillaume Nault <gnault@redhat.com>
To: David Miller <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>
Cc: netdev@vger.kernel.org, Simon Horman <horms@kernel.org>,
David Ahern <dsahern@kernel.org>,
James Chapman <jchapman@katalix.com>,
Tom Parkin <tparkin@katalix.com>
Subject: [PATCH net-next 0/5] ipv4: Consolidate route lookups from IPv4 sockets.
Date: Mon, 16 Dec 2024 18:21:40 +0100 [thread overview]
Message-ID: <cover.1734357769.git.gnault@redhat.com> (raw)
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
next reply other threads:[~2024-12-16 17:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 17:21 Guillaume Nault [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1734357769.git.gnault@redhat.com \
--to=gnault@redhat.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jchapman@katalix.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=tparkin@katalix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.