From: Ihar Hrachyshka <ihrac...@redhat.com> It's always NULL.
Signed-off-by: Ihar Hrachyshka <ihrac...@redhat.com> Signed-off-by: Numan Siddique <num...@ovn.org> Acked-by: Mark Michelson <mmich...@redhat.com> (cherry picked from commit 1f7df5d86a128cee4c398e39f501b4205b2c879f) --- northd/northd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/northd/northd.c b/northd/northd.c index 2a2fd2c740..933df7048c 100644 --- a/northd/northd.c +++ b/northd/northd.c @@ -4391,7 +4391,6 @@ ls_port_create(struct ovsdb_idl_txn *ovnsb_txn, struct hmap *ls_ports, static bool ls_port_reinit(struct ovn_port *op, struct ovsdb_idl_txn *ovnsb_txn, const struct nbrec_logical_switch_port *nbsp, - const struct nbrec_logical_router_port *nbrp, struct ovn_datapath *od, const struct sbrec_port_binding *sb, const struct sbrec_mirror_table *sbrec_mirror_table, @@ -4401,7 +4400,7 @@ ls_port_reinit(struct ovn_port *op, struct ovsdb_idl_txn *ovnsb_txn, { ovn_port_cleanup(op); op->sb = sb; - ovn_port_set_nb(op, nbsp, nbrp); + ovn_port_set_nb(op, nbsp, NULL); op->l3dgw_port = op->cr_port = NULL; return ls_port_init(op, ovnsb_txn, od, sb, sbrec_mirror_table, sbrec_chassis_table, @@ -4581,7 +4580,7 @@ ls_handle_lsp_changes(struct ovsdb_idl_txn *ovnsb_idl_txn, uint32_t old_tunnel_key = op->tunnel_key; if (!ls_port_reinit(op, ovnsb_idl_txn, - new_nbsp, NULL, + new_nbsp, od, sb, ni->sbrec_mirror_table, ni->sbrec_chassis_table, ni->sbrec_chassis_by_name, -- 2.49.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev