[ovs-git] Open vSwitch: connmgr: Free controller info in the same module where it's allocated. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jul 1 17:39:20 UTC 2011

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  72ba2ed371ae593b6fda1d196c31d7dd408a6a1c (commit)
       via  5d27908667cfa34f7786fdc88e9e09078453637a (commit)
      from  316dec68688aeccc1bbb90e555d9c0ca259d9fc7 (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 72ba2ed371ae593b6fda1d196c31d7dd408a6a1c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=72ba2ed371ae593b6fda1d196c31d7dd408a6a1c
Author: Andrew Evans <aevans at nicira.com>
connmgr: Free controller info in the same module where it's allocated.
Make ofproto_free_ofproto_controller_info() just a passthrough to
connmgr_free_controller_info() so the allocation and freeing of memory in the
controller info structure is done in the same place.

commit 5d27908667cfa34f7786fdc88e9e09078453637a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5d27908667cfa34f7786fdc88e9e09078453637a
Author: Andrew Evans <aevans at nicira.com>
bridge: Update controller connection status correctly.
Updates to status-related columns in the Controller table can be lost if there
are multiple bridges with different sets of controllers. This commit fixes this
behavior by first accumulating status for all controllers on all bridges, then
making one pass over all rows in the Controller tables, updating the status of

Bug #6185.
Reported-by: Michael Hu <mhu at nicira.com>


Summary of changes:
 ofproto/connmgr.c |   69 +++++++++++++++++++++++++++++++++--------------------
 ofproto/connmgr.h |    1 +
 ofproto/ofproto.c |   11 +-------
 vswitchd/bridge.c |   13 +++++++--
 4 files changed, 55 insertions(+), 39 deletions(-)

Open vSwitch

More information about the git mailing list