diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-13 14:24:41 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-13 14:24:41 -0400 |
commit | 2d46415b1346f164088a49638e21a088562f0b67 (patch) | |
tree | 9af052bc46d81209877dc7cda4cb03aac6a3dce9 /src | |
parent | 8f3055f89c9b8ed783684df226a853b20dd92e7e (diff) |
compat: don't rewrite siphash when it's from compat
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/compat/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 54907e9..8979639 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -845,10 +845,12 @@ static inline void skb_mark_not_on_list(struct sk_buff *skb) #if defined(ISUBUNTU1604) #include <linux/siphash.h> +#ifndef _WG_LINUX_SIPHASH_H #define hsiphash_2u32 siphash_2u32 #define hsiphash_3u32 siphash_3u32 #define hsiphash_key_t siphash_key_t #endif +#endif #ifdef CONFIG_VE #include <linux/netdev_features.h> |