compat: ipv6_dst_lookup_flow was backported to 5.3 and 5.4

This commit is contained in:
Jason A. Donenfeld 2019-12-19 01:00:35 +01:00
parent 2e52c410fd
commit 0e38a3c340
1 changed files with 1 additions and 1 deletions

View File

@ -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