Re: [nft PATCH] cache: Optimize caching for 'list tables' command

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

 



On Wed, Feb 07, 2024 at 05:48:35PM +0100, Phil Sutter wrote:
> No point in fetching anything other than existing tables from kernel:
> 'list tables' merely prints existing table names, no contents.
> 
> Also populate filter's family field to reduce overhead when listing
> tables in one family with many tables in another one. It works without
> further adjustments because nftnl_nlmsg_build_hdr() will use the value
> for nfgen_family.
> 
> Reported-by: anton.khazan@xxxxxxxxx
> Link: https://bugzilla.netfilter.org/show_bug.cgi?id=1735
> Signed-off-by: Phil Sutter <phil@xxxxxx>

Patch applied.




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

  Powered by Linux