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

dev at openvswitch.org dev at openvswitch.org
Thu Sep 15 22:56:25 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  9ed3ba29b36ab99b75d6519660f58d6f5f9bd190 (commit)
      from  a193dde952a9ec7bb388e08b86bd2929edd3a353 (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 9ed3ba29b36ab99b75d6519660f58d6f5f9bd190
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9ed3ba29b36ab99b75d6519660f58d6f5f9bd190
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