]> 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>
Mon, 26 Aug 2024 16:37:51 +0000 (18:37 +0200)
commit68c8fb5f7c988a38a694c77c65e789e0cb8dfd8a
treea9b703dcdd2c5c1c86a9b239c9fd60fce688e6c8
parent29cb49d0ca92b840938823dec697d8c5488d7253
cache: accumulate flags in batch

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