]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: populate flowtables on demand from error path
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 15 Aug 2024 10:34:17 +0000 (12:34 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jan 2025 00:35:36 +0000 (01:35 +0100)
commitfad67e090e2fc21d5dbff48a55db6dc9a7756025
tree5c540599931e94901f55610b4ad4ffa0e7078635
parent25e3d36d7b935a2a413d527eddfcb034416438ce
cache: populate flowtables on demand from error path

commit 52d99078521f0ae245ad0145348bebdba9f665ab upstream.

Flowtables are only required for error reporting hints if kernel reports
ENOENT. Populate the cache from this error path only.

Tested-by: Eric Garver <eric@garver.life>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/cache.c
src/cmd.c