summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-05-21 17:33:03 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-05-21 22:02:57 -0600
commit85140b431e1e6807cf6c243162a7328dedceeb9d (patch)
tree98ec9c12a5232f5f0ec4d418154a185b475b2ee7 /src
parenteaffa9232baa50b2843bb5a88c87c507c1e72ba1 (diff)
compat: narrow the breadth of iptunnel_xmit backport
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/compat/udp_tunnel/udp_tunnel.c2
1 files changed, 1 insertions, 1 deletions
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)