summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-04-30 14:00:13 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-05-03 23:02:44 +0200
commitc7d13358b6a2f49f81a34aa323a2d0878a0532a2 (patch)
treec77cab71b32abe31dec3ab299b5b269cf2fd5353 /include
parentDocumentation: ABI: sysfs-class-net-qmi: document pass-through file (diff)
downloadlinux-c7d13358b6a2f49f81a34aa323a2d0878a0532a2.tar.xz
linux-c7d13358b6a2f49f81a34aa323a2d0878a0532a2.zip
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 */