aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-18 23:13:11 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-22 18:32:48 +0100
commite4b387551cc3b7d47e3d000b028aa0732f819ada (patch)
treecbe650f58b261e247db8ce2ab54f66f6ab400470 /src/compat
parentqemu: use unprefixed strip when not cross-compiling (diff)
downloadwireguard-monolithic-historical-e4b387551cc3b7d47e3d000b028aa0732f819ada.tar.xz
wireguard-monolithic-historical-e4b387551cc3b7d47e3d000b028aa0732f819ada.zip
compat: stable finally backported fix
Diffstat (limited to 'src/compat')
-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 276e7c9..2218ba0 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -451,7 +451,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, 14) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 63)
#define get_device_dump(a, b) get_device_dump_real(a, b); \
static int get_device_dump(a, b) { \
int ret; \