[ovs-git] Open vSwitch: netdev: Fix carrier status for down interfaces. (lts-1.0)
dev at openvswitch.org
dev at openvswitch.org
Tue Nov 16 23:25:41 UTC 2010
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, lts-1.0 has been updated
via efa3112b7c340203decf0061e7d1d12be03a150f (commit)
from 58453fde168c5938afe445f8e22f8aa96d02083f (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 efa3112b7c340203decf0061e7d1d12be03a150f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=efa3112b7c340203decf0061e7d1d12be03a150f
Author: Jesse Gross <jesse at nicira.com>
netdev: Fix carrier status for down interfaces.
Currently netdev_get_carrier() returns both a carrier status and
an error code. However, usage of the error code was inconsistent:
most callers either ignored it or didn't perform their task if an
error occured, which prevented bond rebalancing. This makes the
handling consistent by translating an error into a down status in
the netdev library.
Bug #3959
-----------------------------------------------------------------------
Summary of changes:
lib/netdev-patch.c | 2 +-
lib/netdev-provider.h | 6 +++++-
lib/netdev-tunnel.c | 4 ++--
lib/netdev-vport.c | 7 -------
lib/netdev-vport.h | 1 -
lib/netdev.c | 33 +++++++++++++++++++++++----------
lib/netdev.h | 2 +-
ofproto/ofproto-sflow.c | 4 +---
ofproto/ofproto.c | 4 +---
vswitchd/bridge.c | 2 +-
10 files changed, 35 insertions(+), 30 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list