summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 02:59:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 05:35:34 +0200
commitbf4c1698b732ef22266f608db1286149e20bd6e2 (patch)
treeb249e6d99bde2f25ffcc609011ea142ab41f8d74 /src
parent03fffb2eff8174ceb94e5faef4c86a0de8a9027e (diff)
compat: remove warning for < 4.1
It still is sort of experimental, I suppose, especially this part in the udp_tunnel drop-in: skb_orphan(skb); sk_mem_reclaim(sk); It seems like sometimes this won't do what we want, but it's hard to diagnose exactly what's happening. In any case, nobody paid attention to that warning anyway, so let's just get rid of it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/compat/compat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index f9cfc08..e504a0b 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -9,8 +9,6 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
#error "WireGuard requires Linux >= 3.10"
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)
-#warning "WireGuard support for kernels < 4.1 should work but is slightly experimental."
#endif
/* These conditionals can't be enforced by an out of tree module very easily,