On 3/20/24 06:41, Han Zhou wrote:
> ovn-controller runs at 100% cpu when OVS exits. This is because the
> ofctrl_run is not called while ofctrl_wait is always called in the main
> loop. Because of the missing ofctrl_run, it doesn't even detect that the
> ofctrl connection is disconnected.
> 
> This patch fixes the issue by always giving a chance to run ofctrl_run
> as long as ofctrl_wait is called.
> 
> Fixes: 1d6d953bf883 ("controller: Don't artificially limit group and meter 
> IDs to 16bit.")
> Fixes: 94cbc59dc0f1 ("ovn-controller: Fix use of dangling pointers in I-P 
> runtime_data.")
> Signed-off-by: Han Zhou <hz...@ovn.org>
> ---

Thanks for the patch, Han!  I tested it in a sandbox and it fixes the
issue.  Looks good to me:

Acked-by: Dumitru Ceara <dce...@redhat.com>

Regards,
Dumitru

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to