compat: on older kernels, ignore_df might be local_df

This commit is contained in:
Joe Holden 2019-05-12 17:41:50 +00:00
parent 7927e67f91
commit b0d812a147
1 changed files with 3 additions and 0 deletions

View File

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