Re: [iptables PATCH 2/4] nft: cache: Make nft_rebuild_cache() respect fake cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 02, 2020 at 06:53:56PM +0100, Phil Sutter wrote:
> 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.

Please, refresh me: Why do we need this "fake cache" in first place?



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux