diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-16 23:25:05 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-17 04:23:00 +0300 |
commit | 836382dc24717af203ce06703530528827086955 (patch) | |
tree | 62fe7e2f32fa530b2657b019e5df2348b337e386 /net/netfilter/nf_tables_core.c | |
parent | 06e95f0a2aa24d480cbc0c3bd18ca49e1c85f868 (diff) | |
download | linux-836382dc24717af203ce06703530528827086955.tar.xz |
netfilter: nf_tables: add last expression
Add a new optional expression that tells you when last matching on a
given rule / set element element has happened.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_tables_core.c')
-rw-r--r-- | net/netfilter/nf_tables_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c index 7780342e2f2d..866cfba04d6c 100644 --- a/net/netfilter/nf_tables_core.c +++ b/net/netfilter/nf_tables_core.c @@ -268,6 +268,7 @@ static struct nft_expr_type *nft_basic_types[] = { &nft_meta_type, &nft_rt_type, &nft_exthdr_type, + &nft_last_type, }; static struct nft_object_type *nft_basic_objects[] = { |