[ovs-git] Open vSwitch: ovs-brcompatd: Delete ports when netdevs on fake bridges disappear. (branch-1.2)

dev at openvswitch.org dev at openvswitch.org
Thu Sep 15 22:57:21 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, branch-1.2 has been updated
       via  45a1c58bdb929f771db666f0aed525e64e7f5bb0 (commit)
      from  e087eb215b346ac42fc9d7b96faeb272aa5d68e7 (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 45a1c58bdb929f771db666f0aed525e64e7f5bb0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=45a1c58bdb929f771db666f0aed525e64e7f5bb0
Author: Ben Pfaff <blp at nicira.com>
		
ovs-brcompatd: Delete ports when netdevs on fake bridges disappear.
		
Until now, when a network device disappeared, netdev_changed_cb() passed
the name of the bridge that contained the network device to ovs-vsctl as
part of the "del-port" command.  However, when the network device was
actually a "fake bridge", it would pass the name of the real bridge, which
ovs-vsctl rejected as wrong (expecting the name of the fake bridge) and
not remove the port.

This fixes the problem by dropping the bridge name, which is simpler than
trying to get the name of the fake bridge in this case.

Reported-by: Tyler Coumbes <coumbes at gmail.com>
Tested-by: Tyler Coumbes <coumbes at gmail.com>


-----------------------------------------------------------------------

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


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list