[ovs-git] Open vSwitch: bridge: Add flow in reconfiguring only after flow translation is possible. (vlan-maint)

dev at openvswitch.org dev at openvswitch.org
Tue Jan 3 22:04:33 UTC 2012

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, vlan-maint has been updated
       via  d7332ccca3c0cabc9b5f8ae6dd8f8a974d12aa70 (commit)
      from  6a65da89fd3f187e0e90d1af7b1e8f7c77670578 (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 d7332ccca3c0cabc9b5f8ae6dd8f8a974d12aa70
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d7332ccca3c0cabc9b5f8ae6dd8f8a974d12aa70
Author: Ben Pfaff <blp at nicira.com>
bridge: Add flow in reconfiguring only after flow translation is possible.
If a bridge is in standalone mode and no controllers are configured, and
then reconfiguration (e.g. ovs-vsctl) adds an SLB or TCP-balanced bond,
and at the moment of reconfiguration active kernel flows exist that output
to the newly added bond, then ovs-vswitchd would segfault because the
bond's 'bond_hash' member is not yet initialized when flows are
retranslated as part of adding the flow that ensures normal standalone
switch behavior.

This commit fixes the problem by adding the flow later, after bonds have
been fully initialized.

Reported-by: Dominic Curran <dominic.curran at citrix.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Open vSwitch

More information about the git mailing list