Remove if condition that is never executed in build_lrouter_nat_defrag_and_lb routine
Acked-by: Dumitru Ceara <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> --- northd/ovn-northd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/northd/ovn-northd.c b/northd/ovn-northd.c index 4e6307ecf..65c8d9955 100644 --- a/northd/ovn-northd.c +++ b/northd/ovn-northd.c @@ -12010,12 +12010,6 @@ build_lrouter_nat_defrag_and_lb(struct ovn_datapath *od, "ip", "flags.loopback = 1; ct_dnat;"); } - /* Load balancing and packet defrag are only valid on - * Gateway routers or router with gateway port. */ - if (!smap_get(&od->nbr->options, "chassis") && !od->l3dgw_port) { - return; - } - build_lrouter_lb_flows(lflows, od, lbs, match); sset_destroy(&nat_entries); -- 2.31.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
