From 85140b431e1e6807cf6c243162a7328dedceeb9d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 21 May 2020 17:33:03 -0600 Subject: compat: narrow the breadth of iptunnel_xmit backport Signed-off-by: Jason A. Donenfeld --- src/compat/udp_tunnel/udp_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compat/udp_tunnel/udp_tunnel.c b/src/compat/udp_tunnel/udp_tunnel.c index ae43566..da78069 100644 --- a/src/compat/udp_tunnel/udp_tunnel.c +++ b/src/compat/udp_tunnel/udp_tunnel.c @@ -135,7 +135,7 @@ static void __compat_fake_destructor(struct sk_buff *skb) { } -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0) static void __compat_iptunnel_xmit(struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) -- cgit v1.2.3