aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-11 15:52:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-23 00:44:41 +0200
commitbf18e87d0bc533c94c38d6e17cad9d03940d6849 (patch)
tree99e96de495da0369596b49333bf1a8e4307203d4
parentversion: bump snapshot (diff)
downloadwireguard-monolithic-historical-bf18e87d0bc533c94c38d6e17cad9d03940d6849.tar.xz
wireguard-monolithic-historical-bf18e87d0bc533c94c38d6e17cad9d03940d6849.zip
compat: these patches will soon work their way into stable
-rw-r--r--src/compat/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 1f490c5..d219e69 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -449,7 +449,7 @@ static inline struct nlattr **genl_family_attrbuf(const struct genl_family *fami
#define COMPAT_CANNOT_USE_GENL_NOPS
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 10) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 59)
#define get_device_dump(a, b) get_device_dump_real(a, b); \
static int get_device_dump(a, b) { \
struct wireguard_device *wg = (struct wireguard_device *)cb->args[0]; \