ipv6: remove "proto" argument from udp_tunnel6_dst_lookup()
authorBeniamino Galvani <b.galvani@gmail.com>
Fri, 20 Oct 2023 11:55:26 +0000 (13:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2023 07:48:57 +0000 (08:48 +0100)
commit7e937dcf96d0489b3cdd1cff9dfd049617d28492
tree50f62733dbf63c88aaa795fd608f1a182ee2d56c
parentfc47e86dbfb75a864c0c9dd8e78affb6506296bb
ipv6: remove "proto" argument from udp_tunnel6_dst_lookup()

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>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bareudp.c
include/net/udp_tunnel.h
net/ipv6/ip6_udp_tunnel.c