diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2023-10-16 09:15:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-16 09:57:52 +0100 |
commit | 78f3655adcb52412275f282267ee771421731632 (patch) | |
tree | 7c6a48c9a786e34aacd041070dcbddebb3064ad3 /include/net | |
parent | bf3fcbf7e7a08015d3b169bad6281b29d45c272d (diff) |
ipv4: remove "proto" argument from udp_tunnel_dst_lookup()
The function is now UDP-specific, the protocol is always IPPROTO_UDP.
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/udp_tunnel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/udp_tunnel.h b/include/net/udp_tunnel.h index 11e810ca5088..8f110dbd3784 100644 --- a/include/net/udp_tunnel.h +++ b/include/net/udp_tunnel.h @@ -166,7 +166,7 @@ struct rtable *udp_tunnel_dst_lookup(struct sk_buff *skb, struct net_device *dev, struct net *net, __be32 *saddr, const struct ip_tunnel_info *info, - u8 protocol, bool use_cache); + bool use_cache); struct metadata_dst *udp_tun_rx_dst(struct sk_buff *skb, unsigned short family, __be16 flags, __be64 tunnel_id, |