diff options
author | Phil Sutter <phil@nwl.cc> | 2020-03-02 18:17:51 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2020-03-06 16:56:05 +0100 |
commit | 39ec645093baadeb3735e2e6ac797de5af6b5ac3 (patch) | |
tree | 4a30d55bdcfe2aa3cd02f8a1065ce39cf3580023 /libiptc/libip4tc.pc.in | |
parent | 40ad7793d1884f28767cf58c96e9d76ae0a18db1 (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 'libiptc/libip4tc.pc.in')
0 files changed, 0 insertions, 0 deletions