aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-08-24 22:37:50 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2019-08-25 11:02:19 -0600
commita96f9d3c1207e8df50ecfe5f86f88a5c776e72e3 (patch)
treef98da9140ad61b319c001003ea410ff332839009 /src/compat/compat.h
parentwg-quick: openbsd: fix alternate routing table syntax (diff)
downloadwireguard-monolithic-historical-a96f9d3c1207e8df50ecfe5f86f88a5c776e72e3.tar.xz
wireguard-monolithic-historical-a96f9d3c1207e8df50ecfe5f86f88a5c776e72e3.zip
compat: account for android-4.9 backport of addr_gen_mode
Android kernels backported d35a00b8e33dab7385f724e713ae71c8be0a49f4, so now we need to do feature detection. Link: https://android-review.googlesource.com/c/kernel/common/+/1103831 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to '')
-rw-r--r--src/compat/compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index c98d623..fb09037 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -600,10 +600,6 @@ static int wg_get_device_dump_real(a, b)
#define COMPAT_CANNOT_USE_IN6_DEV_GET
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
-#define COMPAT_CANNOT_USE_DEV_CNF
-#endif
-
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0)
#define COMPAT_CANNOT_USE_IFF_NO_QUEUE
#endif