summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-06-10 20:46:09 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-10 20:48:21 +0200
commitcd3c21e618368b7744896e02ae94ed5fcc3f8df9 (patch)
tree2cd3f92d0a94211bc13de14f26900ab6470c46af /include/linux/netfilter
parented7c442c2d044270b94b61c45fc3753f536c4ed6 (diff)
expr: missing netlink attribute in last expressionHEADmaster
NFTA_LAST_SET is missing, add it. Fixes: ed7c442c2d04 ("expr: add last match time support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r--include/linux/netfilter/nf_tables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_tables.h b/include/linux/netfilter/nf_tables.h
index 5beb5a8..e94d1fa 100644
--- a/include/linux/netfilter/nf_tables.h
+++ b/include/linux/netfilter/nf_tables.h
@@ -1198,10 +1198,12 @@ enum nft_counter_attributes {
/**
* enum nft_last_attributes - nf_tables last expression netlink attributes
*
+ * @NFTA_LAST_SET: last update has been set, zero means never updated (NLA_U32)
* @NFTA_LAST_MSECS: milliseconds since last update (NLA_U64)
*/
enum nft_last_attributes {
NFTA_LAST_UNSPEC,
+ NFTA_LAST_SET,
NFTA_LAST_MSECS,
NFTA_LAST_PAD,
__NFTA_LAST_MAX