From 0e38a3c340e5f21e1796a95ee92b071c258bb185 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 19 Dec 2019 01:00:35 +0100 Subject: compat: ipv6_dst_lookup_flow was backported to 5.3 and 5.4 --- src/compat/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compat/compat.h b/src/compat/compat.h index 3cc3c7f..824f57c 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -861,7 +861,7 @@ static inline void skb_mark_not_on_list(struct sk_buff *skb) }) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0) +#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) #define ipv6_dst_lookup_flow(a, b, c, d) ipv6_dst_lookup(a, b, &dst, c) + (void *)0 ?: dst #endif -- cgit v1.2.3-59-g8ed1b