projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7501e
)
ovsdb-idl: Make rows inserted by transaction appear during table iteration.
author
Ben Pfaff
<blp@nicira.com>
Wed, 27 Jan 2010 22:12:35 +0000
(14:12 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 27 Jan 2010 22:12:35 +0000
(14:12 -0800)
lib/ovsdb-idl.c
patch
|
blob
|
history
diff --git
a/lib/ovsdb-idl.c
b/lib/ovsdb-idl.c
index fd4c915f0fd537cc7adfc5bfaf4f4b72399e35e2..960e0866dc967c674c05a70344513e7199ea09a2 100644
(file)
--- a/
lib/ovsdb-idl.c
+++ b/
lib/ovsdb-idl.c
@@
-799,7
+799,7
@@
next_real_row(struct ovsdb_idl_table *table, struct hmap_node *node)
struct ovsdb_idl_row *row;
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;
}
}