]> git.ipfire.org Git - thirdparty/nftables.git/commit
segtree: set on EXPR_F_KERNEL flag for catchall elements in the cache
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 4 Jul 2024 12:35:07 +0000 (14:35 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jan 2025 00:35:36 +0000 (01:35 +0100)
commit29bbdcd7fc980f933b228f6e7cdc5b207684063f
treeac815ca066c4b0b55ffd24a58a8e5526e4fd1f03
parent8ae4d7656729e492e7be9a54f4cb83ebdf263ecf
segtree: set on EXPR_F_KERNEL flag for catchall elements in the cache

commit dc6950a80110d6e6f63bd6f5c308d202db698f46 upstream.

Catchall set element deletion requires this flag to be set on,
otherwise it bogusly reports that such element does not exist
in the set.

Fixes: f1cc44edb218 ("src: add EXPR_F_KERNEL to identify expression in the kernel")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/segtree.c