[ovs-git] Open vSwitch: datapath: Avoid confusing tunnels that have different types. (branch-1.3)
dev at openvswitch.org
dev at openvswitch.org
Mon Oct 17 16:03:10 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.3 has been updated
via 038a9314532021e5af7efed3a15efd99392f158c (commit)
via 396c5b618258e7a5c78bc536c7b46ead40fc2673 (commit)
from 501f8d1fd75b316ee7fa7c039cb37110750bf5a1 (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 038a9314532021e5af7efed3a15efd99392f158c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=038a9314532021e5af7efed3a15efd99392f158c
Author: Ben Pfaff <blp at nicira.com>
datapath: Avoid confusing tunnels that have different types.
Without this change, the following commands succeed:
# ovs-dpctl add-if br1 gre1,type=gre,remote_ip=1.2.3.4,local_ip=2.3.4.5
# ovs-dpctl add-if br1 gre0,type=gre,remote_ip=1.2.3.4
but if they are run in the opposite order, they fail with:
ovs-dpctl: adding gre1 to br1 failed (File exists)
This fixes the problem.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit 396c5b618258e7a5c78bc536c7b46ead40fc2673
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=396c5b618258e7a5c78bc536c7b46ead40fc2673
Author: Ben Pfaff <blp at nicira.com>
datapath: Factor out repeated tnl_vport_to_vport() calls.
This is a code cleanup only, but it prepares for the bug fix
in the following commit.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
datapath/tunnel.c | 37 +++++++++++++++++--------------------
1 files changed, 17 insertions(+), 20 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list