diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-03-07 18:17:53 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-03-07 20:47:01 +0100 |
commit | 978cb0cf2912724447e40467e05c72dc00ba1124 (patch) | |
tree | c6bd49feacdc25f89ca9635a46a784463b8db5a2 /src/compat/compat.h | |
parent | 41bd7a84d3dffbd7f6891ad86875664e89e02a7f (diff) |
compat: stable kernels are now receiving b87b619
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/compat.h')
-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 f92fe54..86dcfd2 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -482,7 +482,7 @@ static inline struct nlattr **genl_family_attrbuf(const struct genl_family *fami #else #define ___COMPAT_NETLINK_DUMP_BLOCK return get_device_dump_real(skb, cb); #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 8) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 25) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 87) #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]; \ |