mirror of https://git.zx2c4.com/WireGuard
compat: on older kernels, ignore_df might be local_df
This commit is contained in:
parent
7927e67f91
commit
b0d812a147
|
@ -778,6 +778,9 @@ struct __kernel_timespec {
|
|||
#define skb_probe_transport_header(a) skb_probe_transport_header(a, 0)
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0) && !defined(ISRHEL7)
|
||||
#define ignore_df local_df
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0)
|
||||
/* Note that all intentional uses of the non-_bh variety need to explicitly
|
||||
|
|
Loading…
Reference in New Issue