From: David Ahern <dsahern@kernel.org>
To: Beniamino Galvani <b.galvani@gmail.com>, netdev@vger.kernel.org
Cc: "David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Guillaume Nault <gnault@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 1/5] ipv6: rename and move ip6_dst_lookup_tunnel()
Date: Fri, 20 Oct 2023 09:52:29 -0600 [thread overview]
Message-ID: <dc9f1c9d-d619-d2cc-5211-a3ffe4e8e3bf@kernel.org> (raw)
In-Reply-To: <20231020115529.3344878-2-b.galvani@gmail.com>
On 10/20/23 5:55 AM, Beniamino Galvani wrote:
> At the moment ip6_dst_lookup_tunnel() is used only by bareudp.
> Ideally, other UDP tunnel implementations should use it, but to do so
> the function needs to accept new parameters that are specific for UDP
> tunnels, such as the ports.
>
> Prepare for these changes by renaming the function to
> udp_tunnel6_dst_lookup() and move it to file
> net/ipv6/ip6_udp_tunnel.c.
>
> This is similar to what already done for IPv4 in commit bf3fcbf7e7a0
> ("ipv4: rename and move ip_route_output_tunnel()").
>
> Suggested-by: Guillaume Nault <gnault@redhat.com>
> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
> ---
> drivers/net/bareudp.c | 10 +++---
> include/net/ipv6.h | 6 ----
> include/net/udp_tunnel.h | 7 ++++
> net/ipv6/ip6_output.c | 68 --------------------------------------
> net/ipv6/ip6_udp_tunnel.c | 69 +++++++++++++++++++++++++++++++++++++++
> 5 files changed, 81 insertions(+), 79 deletions(-)
>
Reviewed-by: David Ahern <dsahern@kernel.org>
next prev parent reply other threads:[~2023-10-20 15:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 11:55 [PATCH net-next 0/5] net: consolidate IPv6 route lookup for UDP tunnels Beniamino Galvani
2023-10-20 11:55 ` [PATCH net-next 1/5] ipv6: rename and move ip6_dst_lookup_tunnel() Beniamino Galvani
2023-10-20 15:52 ` David Ahern [this message]
2023-10-20 11:55 ` [PATCH net-next 2/5] ipv6: remove "proto" argument from udp_tunnel6_dst_lookup() Beniamino Galvani
2023-10-20 15:52 ` David Ahern
2023-10-20 11:55 ` [PATCH net-next 3/5] ipv6: add new arguments to udp_tunnel6_dst_lookup() Beniamino Galvani
2023-10-20 15:53 ` David Ahern
2023-10-20 11:55 ` [PATCH net-next 4/5] geneve: use generic function for tunnel IPv6 route lookup Beniamino Galvani
2023-10-20 15:56 ` David Ahern
2023-10-20 11:55 ` [PATCH net-next 5/5] vxlan: " Beniamino Galvani
2023-10-20 15:58 ` David Ahern
2023-10-23 7:50 ` [PATCH net-next 0/5] net: consolidate IPv6 route lookup for UDP tunnels 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=dc9f1c9d-d619-d2cc-5211-a3ffe4e8e3bf@kernel.org \
--to=dsahern@kernel.org \
--cc=b.galvani@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gnault@redhat.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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 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).