Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
northd.c: Lock to protect against possible od->group corruption.
When parallel build is used, od->group can be updated by threads outside of the function do_ovn_lflow_add_pd (for lb related flow building). So use the function ovn_dp_group_add_with_reference() to update it in function do_ovn_lflow_add() when it is not a newly created flow. Signed-off-by: Han Zhou <hzhou@ovn.org> Acked-by: Numan Siddique <numans@ovn.org>
- Loading branch information
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters