[ovs-git] Open vSwitch: bridge: Clear out all Interface fields when an interface cannot be created. (master)
dev at openvswitch.org
dev at openvswitch.org
Thu Sep 29 10:04:17 PDT 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 3fc5a86ab3e7168993a51ed3e71e25eda40f71fe (commit)
from e084518ad4e7ce349d23ddda7c74ea8a57ca0f56 (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 3fc5a86ab3e7168993a51ed3e71e25eda40f71fe
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3fc5a86ab3e7168993a51ed3e71e25eda40f71fe
Author: Ben Pfaff <blp at nicira.com>
bridge: Clear out all Interface fields when an interface cannot be created.
When an Interface record is invalid (for example, when the interface that
it specifies does not exist and cannot be created), ovs-vswitchd would
leave any pre-existing data in its columns, except that it would set the
ofport column to -1 to indicate the error. This was sometimes confusing
because, for example, the lacp_current field could still be set to "true"
if LACP has previously been active and up-to-date.
This commit changes ovs-vswitchd to reset all such data to its default
values when an interface is invalid.
Bug #7450.
Reported-by: Duffie Cooley <dcooley at nicira.com>
Bug #7491.
Reported-by: Ethan Jackson <ethan at nicira.com>
Release Notes #7500.
Reported-by: Keith Amidon <keith at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
AUTHORS | 1 +
vswitchd/bridge.c | 28 ++++++++++++++++++++++++++--
2 files changed, 27 insertions(+), 2 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list