[ovs-git] Open vSwitch: stp: Make stp-disabled port forward stp bpdu packets. (branch-2.0)

dev at openvswitch.org dev at openvswitch.org
Thu Jul 17 07:04:17 UTC 2014


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-2.0 has been updated
       via  d2c875feeff06f5e5c2cc11149a3779f60febad5 (commit)
      from  f2a98cdd0fbf846229f973eb462da43395d12871 (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 d2c875feeff06f5e5c2cc11149a3779f60febad5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d2c875feeff06f5e5c2cc11149a3779f60febad5
Author: Alex Wang <alexw at nicira.com>
		
stp: Make stp-disabled port forward stp bpdu packets.
		
Commit 0d1cee123a84 (stp: Fix bpdu tx problem in listening state)
makes ovs drop the stp bpdu packets if stp is not enabled on the
input port.  However, when pif bridge is used and stp is enabled
on the integration bridge.  The flow translation of stp bpdu
packets will go through a level of resubmission which changes
the input port to the corresponding peer port.  Since, the
patch port on the pif bridge does not have stp enabled, the
flow translation will drop the bpdu packets.

This commit fixes the issue by making ovs forward stp bpdu packets
on stp-disabled port.

VMware-BZ: #1284695

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
Acked-by: Joe Stringer <joestringer at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/stp.c                    |   13 +++++++++----
 lib/stp.h                    |   28 ++++++++++++++++++++--------
 ofproto/ofproto-dpif-xlate.c |    6 +++---
 3 files changed, 32 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list