aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-25 16:46:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-25 16:46:50 +0200
commit9e71cce836a806c7ef08e212ef9ecb05d818f0fd (patch)
tree79cf51fb6d53384ef081bb911ae18e778d1bc88f /src/compat
parentglobal: switch to coarse ktime (diff)
downloadwireguard-monolithic-historical-9e71cce836a806c7ef08e212ef9ecb05d818f0fd.tar.xz
wireguard-monolithic-historical-9e71cce836a806c7ef08e212ef9ecb05d818f0fd.zip
compat: rhel backported list modifications
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 19f51a9..7fee52d 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -753,7 +753,7 @@ static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2,
#define read_cpuid_part() read_cpuid_part_number()
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) && !defined(ISRHEL7)
#define hlist_add_behind(a, b) hlist_add_after(b, a)
#endif