[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e175ed90-ac45-bae0-b04c-9603c8ac795d@kernel.org>
Date: Wed, 11 Oct 2023 12:50:51 -0600
From: David Ahern <dsahern@...nel.org>
To: Beniamino Galvani <b.galvani@...il.com>, netdev@...r.kernel.org
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski
<kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Guillaume Nault <gnault@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 1/7] ipv4: rename and move
ip_route_output_tunnel()
On 10/9/23 2:20 AM, Beniamino Galvani wrote:
> At the moment ip_route_output_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_tunnel_dst_lookup() and move it to file
> net/ipv4/udp_tunnel_core.c.
>
> Suggested-by: Guillaume Nault <gnault@...hat.com>
> Signed-off-by: Beniamino Galvani <b.galvani@...il.com>
> ---
> drivers/net/bareudp.c | 8 +++----
> include/net/route.h | 6 -----
> include/net/udp_tunnel.h | 6 +++++
> net/ipv4/route.c | 48 --------------------------------------
> net/ipv4/udp_tunnel_core.c | 48 ++++++++++++++++++++++++++++++++++++++
> 5 files changed, 58 insertions(+), 58 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists