]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: skip set element netlink dump for add/delete element command
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Aug 2021 09:52:36 +0000 (11:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 Aug 2021 08:35:23 +0000 (10:35 +0200)
commitecd19f46056ba7b5c29160c4b455d077217dec56
tree115312862ae51962586456773f56c8be77959f60
parent2577939cc5758d53192d9aa3b9a6b50cded47325
cache: skip set element netlink dump for add/delete element command

Add NFT_CACHE_SETELEM_MAYBE to dump the set elements conditionally,
only in case that the set interval flag is set on.

Reported-by: Cristian Constantin <const.crist@googlemail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/cache.h
src/cache.c