[ovs-git] [ovn-org/ovn] f5e212: northd.c: Remove redundant condition check in ovn_...

Han Zhou noreply at github.com
Tue Oct 5 07:33:15 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: f5e2120ee19bc1005d21375b843b2cb3aee67ccc
      https://github.com/ovn-org/ovn/commit/f5e2120ee19bc1005d21375b843b2cb3aee67ccc
  Author: Han Zhou <hzhou at ovn.org>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M northd/northd.c

  Log Message:
  -----------
  northd.c: Remove redundant condition check in ovn_dp_group_add_with_reference().

Signed-off-by: Han Zhou <hzhou at ovn.org>
Acked-by: Numan Siddique <numans at ovn.org>


  Commit: a1945b2154059b37839e0a4bfbb00b59df8cfe36
      https://github.com/ovn-org/ovn/commit/a1945b2154059b37839e0a4bfbb00b59df8cfe36
  Author: Han Zhou <hzhou at ovn.org>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M northd/northd.c

  Log Message:
  -----------
  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 at ovn.org>
Acked-by: Numan Siddique <numans at ovn.org>


Compare: https://github.com/ovn-org/ovn/compare/9dadbd482cc0...a1945b215405


More information about the git mailing list