Re: [iptables PATCH] xtables: Speed up chain deletion in large rulesets

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

 



On Wed, Dec 12, 2018 at 08:04:12PM +0100, Phil Sutter wrote:
> Kernel prefers to identify chain by handle if it was given which causes
> manual traversal of the chain list. In contrast, chain lookup by name in
> kernel makes use of a hash table so is considerably faster. Force this
> code path by removing the cached chain's handle when removing it.

Applied, thanks Phil.



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux