]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: position does not require full cache
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 29 Aug 2024 10:42:17 +0000 (12:42 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 30 Aug 2024 10:34:17 +0000 (12:34 +0200)
commitd414f756af9d638fe0c0002b2df31c8c17a15002
tree7d60d32ea8920ab79b56431523cf9e26f47e748d
parent4984da8cc427974ea63796fa60a791b714a71440
cache: position does not require full cache

position refers to the rule handle, it has similar cache requirements as
replace rule command, relax cache requirements.

Commit e5382c0d08e3 ("src: Support intra-transaction rule references")
uses position.id for index support which requires a full cache, but
only in such case.

Fixes: 01e5c6f0ed03 ("src: add cache level flags")
Tested-by: Eric Garver <eric@garver.life>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/cache.c