[ovs-git] Open vSwitch: ovs-brcompatd: Simplify logic and make more robust. (next)

dev at openvswitch.org dev at openvswitch.org
Fri Dec 18 20:33:57 UTC 2009

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, next has been updated
       via  058fd2a2741deff874db53f0d7cdbf743e1f2a0f (commit)
       via  39b78711a0ca6724347b366ea265fa569bb1937a (commit)
      from  3a2eca8dc02d02d21b464bc29d21a5ec784d6785 (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 058fd2a2741deff874db53f0d7cdbf743e1f2a0f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=058fd2a2741deff874db53f0d7cdbf743e1f2a0f
Author: Ben Pfaff <blp at nicira.com>
ovs-brcompatd: Simplify logic and make more robust.
The ovs-brcompatd code was trying hard to make sure that an Open_vSwitch
record would exist in the database before it would look for one.  It is
easier to just check for a record and use it if it is there, and it is
also more robust against databases that have not been initialized.

commit 39b78711a0ca6724347b366ea265fa569bb1937a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=39b78711a0ca6724347b366ea265fa569bb1937a
Author: Ben Pfaff <blp at nicira.com>
ovs-brcompatd: Handle TXN_UNCHANGED status.
This status was introduced several commits ago but not added to the switch
statement here.

Also, change the "status" variable to type enum ovsdb_idl_txn_status so
that GCC will warn about future additions.


Summary of changes:
 vswitchd/ovs-brcompatd.c |   35 ++++++++++++-----------------------
 1 files changed, 12 insertions(+), 23 deletions(-)

Open vSwitch

More information about the git mailing list