aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-09 00:26:24 +0900
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-10 16:20:09 +0900
commit73405c0cad7f4c81a09f2c5714a9ac967eac07fe (patch)
tree52b306feda789a6009a7c6ff4f4e4dc78a9a6451 /src/compat
parentwg-quick: stat the correct enclosing folder of config file (diff)
downloadwireguard-monolithic-historical-73405c0cad7f4c81a09f2c5714a9ac967eac07fe.tar.xz
wireguard-monolithic-historical-73405c0cad7f4c81a09f2c5714a9ac967eac07fe.zip
compat: 4.4.0 has strange ECN function
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 55d6af4..9ec73ba 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -70,7 +70,8 @@
#define ipv6_dst_lookup(a, b, c, d) ipv6_dst_lookup(b, c, d)
#endif
-#if ((LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 5) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)) || \
+#if (LINUX_VERSION_CODE == KERNEL_VERSION(4, 4, 0) || \
+ (LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 5) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)) || \
(LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 17) && LINUX_VERSION_CODE > KERNEL_VERSION(3, 19, 0)) || \
(LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 27) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)) || \
(LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 8) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)) || \