Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
northd: Fix iteration over vip backends.
During refactoring, direct access such as 'lb->vips[i].backends[j].op' was simplified by the presence of the 'backend_nb' pointer. But instead of the inner one, the index of the outer loop was used. This forces northd to only use one backend per vip, and can also lead to invalid memory accesses. This change fixes system test: 24. ovn -- Load balancer health checks Fixes: f1119c1 ("northd: Refactor load balancer vip parsing.") Tested-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Acked-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: Numan Siddique <numans@ovn.org> (cherry-picked from master commit 5c2d311)
- Loading branch information