]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_dynset: honor stateful expressions in set definition
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 16 Jan 2021 11:26:46 +0000 (12:26 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 16 Jan 2021 17:57:26 +0000 (18:57 +0100)
commit7c78944d00b05f5589789968ab53b77714b57807
treeeaa0f40aca7c42e0ed2f9ebb655ba4fcdfdfa07e
parent3b277967b7aacd43df0a6a6a53cdcd4a100478d6
netfilter: nft_dynset: honor stateful expressions in set definition

If the set definition contains stateful expressions, allocate them for
the newly added entries from the packet path.

Fixes: 41c20180fbfc ("netfilter: nf_tables: allow to specify stateful expression in set definition")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_dynset.c