[ovs-git] Open vSwitch: ovsdb-client: Avoid assertion with multiple databases. (branch-1.9)

dev at openvswitch.org dev at openvswitch.org
Tue May 7 00:47:53 UTC 2013

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.9 has been updated
       via  205f4f9b972cd3cb71d2ec5bade2e3fe3cc15629 (commit)
      from  527bba351aebd150a385eac6ebbc107d550f82a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 205f4f9b972cd3cb71d2ec5bade2e3fe3cc15629
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=205f4f9b972cd3cb71d2ec5bade2e3fe3cc15629
Author: Justin Pettit <jpettit at nicira.com>
ovsdb-client: Avoid assertion with multiple databases.
When using ovsdb-client with an ovsdb-server with multiple databases, an
assertion could trigger due to them being returned in non-sorted order.
This commit changes the fetch_dbs() function to always return databases
in sorted order, since both callers are expecting that behavior.

Bug #16882

Signed-off-by: Justin Pettit <jpettit at nicira.com>
Reported-by: Spiro Kourtessis <spiro at vmware.com>


Summary of changes:
 AUTHORS              |    1 +
 ovsdb/ovsdb-client.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

Open vSwitch

More information about the git mailing list