mirror of https://git.zx2c4.com/WireGuard
compat: ipv6_dst_lookup_flow was backported to 5.3 and 5.4
This commit is contained in:
parent
2e52c410fd
commit
0e38a3c340
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue