summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-04-30 15:00:13 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2021-05-04 00:02:44 +0300
commitc7d13358b6a2f49f81a34aa323a2d0878a0532a2 (patch)
treec77cab71b32abe31dec3ab299b5b269cf2fd5353 /include
parentbd1af6b5fffd36c12997bd48d61d39dc5796fa7b (diff)
downloadlinux-c7d13358b6a2f49f81a34aa323a2d0878a0532a2.tar.xz
netfilter: xt_SECMARK: add new revision to fix structure layout
This extension breaks when trying to delete rules, add a new revision to fix this. Fixes: 5e6874cdb8de ("[SECMARK]: Add xtables SECMARK target") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/netfilter/xt_SECMARK.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/xt_SECMARK.h b/include/uapi/linux/netfilter/xt_SECMARK.h
index 1f2a708413f5..beb2cadba8a9 100644
--- a/include/uapi/linux/netfilter/xt_SECMARK.h
+++ b/include/uapi/linux/netfilter/xt_SECMARK.h
@@ -20,4 +20,10 @@ struct xt_secmark_target_info {
char secctx[SECMARK_SECCTX_MAX];
};
+struct xt_secmark_target_info_v1 {
+ __u8 mode;
+ char secctx[SECMARK_SECCTX_MAX];
+ __u32 secid;
+};
+
#endif /*_XT_SECMARK_H_target */