Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-controller: Fix busy loop when ofctrl is disconnected.
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: 1d6d953 ("controller: Don't artificially limit group and meter IDs to 16bit.") Fixes: 94cbc59 ("ovn-controller: Fix use of dangling pointers in I-P runtime_data.") Signed-off-by: Han Zhou <[email protected]>
- Loading branch information