Re: [PATCH -next v3] netfilter: conntrack: allow increasing bucket size via sysctl too

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

 



On Wed, Jun 22, 2016 at 01:26:10PM +0200, Florian Westphal wrote:
> No need to restrict this to module parameter.
> 
> We export a copy of the real hash size -- when user alters the value we
> allocate the new table, copy entries etc before we update the real size
> to the requested one.
> 
> This is also needed because the real size is used by concurrent readers
> and cannot be changed without synchronizing the conntrack generation
> seqcnt.
> 
> We only allow changing this value from the initial net namespace.
> 
> Tested using http-client-benchmark vs. httpterm with concurrent
> 
> while true;do
>  echo $RANDOM > /proc/sys/net/netfilter/nf_conntrack_buckets
> done

Applied, thanks Florian.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux