aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-04-14 02:56:24 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-04-14 02:56:24 -0600
commitc15894ad17cb0760471c2dd798bfbbea2081b4db (patch)
tree0bf73b5b3addc5f933bc860de0b1c1e36af10de8
parentgit: add gitattributes so tarball doesn't have gitignore files (diff)
downloadwireguard-linux-compat-c15894ad17cb0760471c2dd798bfbbea2081b4db.tar.xz
wireguard-linux-compat-c15894ad17cb0760471c2dd798bfbbea2081b4db.zip
compat: support RHEL 7.8's faulty siphash backport
Reported-by: Christian Weiss <cwei@gmx.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-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 501aca5..60baa21 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -1037,7 +1037,7 @@ static inline void skb_reset_redirect(struct sk_buff *skb)
}
#endif
-#if defined(ISUBUNTU1604)
+#if defined(ISUBUNTU1604) || defined(ISRHEL7)
#include <linux/siphash.h>
#ifndef _WG_LINUX_SIPHASH_H
#define hsiphash_2u32 siphash_2u32