mirror of
https://github.com/openvswitch/ovs
synced 2025-09-02 15:25:22 +00:00
ovsdb-idl: Make rows inserted by transaction appear during table iteration.
This commit is contained in:
@@ -799,7 +799,7 @@ next_real_row(struct ovsdb_idl_table *table, struct hmap_node *node)
|
|||||||
struct ovsdb_idl_row *row;
|
struct ovsdb_idl_row *row;
|
||||||
|
|
||||||
row = CONTAINER_OF(node, struct ovsdb_idl_row, hmap_node);
|
row = CONTAINER_OF(node, struct ovsdb_idl_row, hmap_node);
|
||||||
if (!ovsdb_idl_row_is_orphan(row)) {
|
if (row->new || !ovsdb_idl_row_is_orphan(row)) {
|
||||||
return row;
|
return row;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user