]> 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>
Mon, 19 Aug 2024 15:30:22 +0000 (17:30 +0200)
commit52d99078521f0ae245ad0145348bebdba9f665ab
tree14ff61fc40f8d02680746365c5745a792a958464
parentaab2fe87a665c0cba2676096b49b5c8ea21910f8
cache: populate flowtables on demand from error path

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