Re: [PATCH net-next 2/5] ipv6: remove "proto" argument from udp_tunnel6_dst_lookup()

David Ahern
2023-10-20T15:52:44Z

On 10/20/23 5:55 AM, Beniamino Galvani wrote:
> The function is now UDP-specific, the protocol is always IPPROTO_UDP.
>
> This is similar to what already done for IPv4 in commit 78f3655adcb5
> ("ipv4: remove "proto" argument from udp_tunnel_dst_lookup()").
>
> Suggested-by: Guillaume Nault <gnault@redhat.com>
> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
> ---
> drivers/net/bareudp.c | 5 ++---
> include/net/udp_tunnel.h | 2 +-
> net/ipv6/ip6_udp_tunnel.c | 4 +---
> 3 files changed, 4 insertions(+), 7 deletions(-)
>

Reviewed-by: David Ahern <dsahern@kernel.org>