diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-11 15:52:12 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-01 00:56:58 +0100 |
commit | cc1693a9d529d3536acd3786bd4235b071fe2dc9 (patch) | |
tree | 1d4c4ee996e8336e3ff6aa649a7719deff803c23 | |
parent | version: bump snapshot (diff) | |
download | wireguard-monolithic-historical-cc1693a9d529d3536acd3786bd4235b071fe2dc9.tar.xz wireguard-monolithic-historical-cc1693a9d529d3536acd3786bd4235b071fe2dc9.zip |
compat: these patches will soon work their way into stable
-rw-r--r-- | src/compat/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 55d6af4..c810769 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -450,7 +450,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, 11) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 60) #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]; \ |