From: Han Zhou <[email protected]> This is an enhancement for commit: 102781c ovsdb-idl: Track changes for table references.
The seqno change is needed so that the change-tracking helper function ..._is_new() can work properly. Signed-off-by: Han Zhou <[email protected]> --- lib/ovsdb-idl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 6a19b07..9f44cef 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -2359,6 +2359,9 @@ add_tracked_change_for_references(struct ovsdb_idl_row *row) ovsdb_idl_track_is_set(row->table)) { ovs_list_push_back(&row->table->track_list, &row->track_node); + row->change_seqno[OVSDB_IDL_CHANGE_MODIFY] + = row->table->change_seqno[OVSDB_IDL_CHANGE_MODIFY] + = row->table->db->change_seqno + 1; const struct ovsdb_idl_arc *arc; LIST_FOR_EACH (arc, dst_node, &row->dst_arcs) { -- 2.1.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
