diff options
-rw-r--r-- | src/compat/compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 4dff967..9f6e725 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -834,10 +834,10 @@ static inline void skb_mark_not_on_list(struct sk_buff *skb) #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 20, 0) && !defined(ISRHEL8) -#define NLA_EXACT_LEN NLA_UNSPEC +#define NLA_POLICY_EXACT_LEN(_len) { .type = NLA_UNSPEC, .len = _len } #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) && !defined(ISRHEL8) -#define NLA_MIN_LEN NLA_UNSPEC +#define NLA_POLICY_MIN_LEN(_len) { .type = NLA_UNSPEC, .len = _len } #define COMPAT_CANNOT_INDIVIDUAL_NETLINK_OPS_POLICY #endif |