summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-03-26 04:47:11 +0100
committerPhil Sutter <phil@nwl.cc>2020-05-11 14:28:28 +0200
commitc63b7643bb433abdb55d934029eaa51451cb1b8c (patch)
tree489309acbe03fd1b7bbed0ab36979bfbe7f7787b /iptables/xtables-restore.c
parent6d8182e9c359ef3167167c5d5cc376da950e5edd (diff)
nft: cache: Simplify rule and set fetchers
Since no incremental cache fetching happens anymore, code fetching rules for chains or elements for sets may safely assume that whatever is in cache also didn't get populated with rules or elements before. Therefore no (optional) chain name needs to be passed on to fetch_rule_cache() and fetch_set_cache() doesn't have to select for which sets in a table to call set_fetch_elem_cb(). Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-restore.c')
0 files changed, 0 insertions, 0 deletions