aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBeniamino Galvani <[email protected]>2023-10-16 09:15:21 +0200
committerDavid S. Miller <[email protected]>2023-10-16 09:57:52 +0100
commit78f3655adcb52412275f282267ee771421731632 (patch)
tree7c6a48c9a786e34aacd041070dcbddebb3064ad3 /include
parentbf3fcbf7e7a08015d3b169bad6281b29d45c272d (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 <[email protected]> Signed-off-by: Beniamino Galvani <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/net/udp_tunnel.h2
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,