]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: populate objects on demand from error path
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 15 Aug 2024 10:34:13 +0000 (12:34 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 Aug 2024 15:30:17 +0000 (17:30 +0200)
commitaab2fe87a665c0cba2676096b49b5c8ea21910f8
tree4a7aa250912c55357fbc6c99b1268b7bcb831099
parentbabc6ee8773cfeed78167f78827b35e3141e04c6
cache: populate objects on demand from error path

Objects 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