summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorDumitru Ceara <dceara@redhat.com>2020-12-04 15:54:41 +0100
committerIlya Maximets <i.maximets@ovn.org>2020-12-04 20:00:36 +0100
commit97dbef6de9d8ac72a20d4ccbb3bcdba3e308f6b9 (patch)
tree7e15833a3272163e7b3939a8e77cb865c7df092c /ofproto
parent35454eba79a42a7374bb2572f1348abe4cc92318 (diff)
downloadopenvswitch-97dbef6de9d8ac72a20d4ccbb3bcdba3e308f6b9.tar.gz
ovsdb-idl: Fix expected condition seqno when changes are pending.
Commit 17f22fe46142 tried to address this but only covered some of the cases. The correct way to report the expected seqno is to take into account if there already is a condition change that was requested to the server but not acked yet. In that case, the new condition change request will be sent only after the already requested one is acked. That is, expected condition seqno when conditions are up to date is db->cond_seqno + 2 in this case. Fixes: 17f22fe46142 ("ovsdb-idl: Return correct seqno from ovsdb_idl_db_set_condition().") Suggested-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ofproto')
0 files changed, 0 insertions, 0 deletions