Revision 26b5a5712eb85e253724e56a54c17f8519bd8e4e authored by Pablo Neira Ayuso on 16 June 2023, 12:45:26 UTC, committed by Pablo Neira Ayuso on 20 June 2023, 20:43:40 UTC
Add a new state to deal with rule expressions deactivation from the
newrule error path, otherwise the anonymous set remains in the list in
inactive state for the next generation. Mark the set/chain transaction
as unbound so the abort path releases this object, set it as inactive in
the next generation so it is not reachable anymore from this transaction
and reference counter is dropped.

Fixes: 1240eb93f061 ("netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent 4bedf9e
History
File Mode Size
alloc
bindings
kernel
macros
uapi
.gitignore -rw-r--r-- 139 bytes
Makefile -rw-r--r-- 17.8 KB
bindgen_parameters -rw-r--r-- 691 bytes
build_error.rs -rw-r--r-- 1.3 KB
compiler_builtins.rs -rw-r--r-- 1.9 KB
exports.c -rw-r--r-- 862 bytes
helpers.c -rw-r--r-- 4.3 KB

back to top