diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-20 22:11:40 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-20 22:19:57 -0600 |
commit | 0c83b08b0248c7781aae8f41cef90ee3dc06c410 (patch) | |
tree | 885578668b472f3041f2ba2f626acfc70fffffb2 /src/compat/compat.h | |
parent | 42b2b9172f279ced743087971f6fc4d07b717788 (diff) |
compat: RHEL7 backported the skb hash renamings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r-- | src/compat/compat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 22289ea..7d73083 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -1026,16 +1026,16 @@ static inline void skb_reset_redirect(struct sk_buff *skb) } #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) && !defined(ISRHEL7) #define skb_get_hash skb_get_rxhash #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0) && !defined(ISRHEL7) #define hash rxhash #define l4_hash l4_rxhash #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) && !defined(ISRHEL7) #define sw_hash ignore_df = 0; skb->nf_trace = skb->ooo_okay #endif |