We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a28032f commit dace9d0Copy full SHA for dace9d0
src/compat/compat.h
@@ -834,10 +834,10 @@ static inline void skb_mark_not_on_list(struct sk_buff *skb)
834
#endif
835
836
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 20, 0) && !defined(ISRHEL8)
837
-#define NLA_EXACT_LEN NLA_UNSPEC
+#define NLA_POLICY_EXACT_LEN(_len) { .type = NLA_UNSPEC, .len = _len }
838
839
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) && !defined(ISRHEL8)
840
-#define NLA_MIN_LEN NLA_UNSPEC
+#define NLA_POLICY_MIN_LEN(_len) { .type = NLA_UNSPEC, .len = _len }
841
#define COMPAT_CANNOT_INDIVIDUAL_NETLINK_OPS_POLICY
842
843
0 commit comments