On Fri, Mar 29, 2019 at 02:59:07PM -0700, Darrell Ball wrote:
> If there is low maximum connection count configuration and less than 10
> connections in a bucket, the calculation of the maximum number of
> connections to clean for the bucket could be zero, leading to these
> connections not being cleaned until and if the connection count in the
> bucket increases.
> 
> Fix this by checking for low maximum connection count configuration
> and do this outside of the buckets loop, thereby simplifying the loop.
> 
> Fixes: e6ef6cc6349b ("conntrack: Periodically delete expired connections.")
> CC: Daniele Di Proietto <[email protected]>
> Reported-by: Liujiaxin <[email protected]>
> Reported-at: 
> https://mail.openvswitch.org/pipermail/ovs-dev/2019-March/357703.html
> Signed-off-by: Darrell Ball <[email protected]>
> ---
> 
> v2: Fix local variable naming.
> 
> Backport to 2.6.

Thanks, applied to master and backported.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to