diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-03 17:58:23 +0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-03 17:58:40 +0800 |
commit | 279f36f2f608c0a838ee3b4b2aeeea10c7c97931 (patch) | |
tree | 83ee379397d473e29af03b783ce26d37114e3c91 /src/compat | |
parent | 118398c1c6540d44a070266cf3a39c5077775c8e (diff) |
compat: RHEL 8.2 backported ipv6_dst_lookup_flow
Reported-by: Vladimir Benes <vbenes@redhat.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat')
-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 1aa0e7b..42f7bee 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -870,7 +870,7 @@ static inline void skb_mark_not_on_list(struct sk_buff *skb) }) #endif -#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 5) && LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 18) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 5) && LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 18) && !defined(ISRHEL82)) #define ipv6_dst_lookup_flow(a, b, c, d) ipv6_dst_lookup(a, b, &dst, c) + (void *)0 ?: dst #endif |