summaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
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
commit09dcd2ebf1e54e3da6f8efbefb89dc8e1512b3c2 (patch)
tree3ffd8c44c016b38571969ead1a5125711b0bd232 /src/compat
parentconfig: it's faster to memcpy than strncpy (diff)
downloadwireguard-monolithic-historical-09dcd2ebf1e54e3da6f8efbefb89dc8e1512b3c2.tar.xz
wireguard-monolithic-historical-09dcd2ebf1e54e3da6f8efbefb89dc8e1512b3c2.zip
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.
Diffstat (limited to 'src/compat')
-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,