commit | 40ad7793d1884f28767cf58c96e9d76ae0a18db1 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Sat Feb 29 02:08:26 2020 +0100 |
committer | Phil Sutter <phil@nwl.cc> | Fri Mar 06 16:56:00 2020 +0100 |
tree | 9cac4b039a9bffdd3f5acd1af61665edc5c07020 | |
parent | c550c81fd373e5753103d20f7902171f0fa79807 [diff] |
nft: cache: Make nft_rebuild_cache() respect fake cache If transaction needed a refresh in nft_action(), restore with flush would fetch a full cache instead of merely refreshing table list contained in "fake" cache. To fix this, nft_rebuild_cache() must distinguish between fake cache and full rule cache. Therefore introduce NFT_CL_FAKE to be distinguished from NFT_CL_RULES. Signed-off-by: Phil Sutter <phil@nwl.cc>