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

dev at openvswitch.org dev at openvswitch.org
Mon May 6 22:45:44 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, master has been updated
       via  66980be97d99fa80de77e495bd0b7b4ad5079148 (commit)
      from  8e85e0374909b3c1ad6643311f83ce6ee1768c29 (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 66980be97d99fa80de77e495bd0b7b4ad5079148
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=66980be97d99fa80de77e495bd0b7b4ad5079148
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