summaryrefslogtreecommitdiffstats
path: root/iptables/ip6tables-restore.8
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-03-02 18:17:51 +0100
committerPhil Sutter <phil@nwl.cc>2020-03-06 16:56:05 +0100
commit39ec645093baadeb3735e2e6ac797de5af6b5ac3 (patch)
tree4a30d55bdcfe2aa3cd02f8a1065ce39cf3580023 /iptables/ip6tables-restore.8
parent40ad7793d1884f28767cf58c96e9d76ae0a18db1 (diff)
nft: cache: Simplify chain list allocation
Allocate chain lists right after fetching table cache, regardless of whether partial cache is fetched or not. Chain list pointers reside in struct nft_cache's table array and hence are present irrespective of actual tables in kernel. Given the small number of tables, there wasn't much overhead avoided by the conditional in fetch_chain_cache(). Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/ip6tables-restore.8')
0 files changed, 0 insertions, 0 deletions