]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: accumulate flags in batch
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Aug 2024 08:19:39 +0000 (10:19 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jan 2025 00:35:37 +0000 (01:35 +0100)
commita59866980f59c9387386d9fd28c08a29360bf054
treeffdf86824e42a628933048b1b8ce246064c93707
parent4b7b7280189c861814176b0313b1bf5dacfa7c7c
cache: accumulate flags in batch

commit 68c8fb5f7c988a38a694c77c65e789e0cb8dfd8a upstream.

Recent updates are relaxing cache requirements:

  babc6ee8773c ("cache: populate chains on demand from error path")

Flags describe cache requirements for a given batch, accumulate flags
that are inferred from commands in this batch.

Fixes: 7df42800cf89 ("src: single cache_update() call to build cache before evaluation")
Tested-by: Eric Garver <eric@garver.life>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/cache.c