[ovs-git] Open vSwitch: stp: Fix bpdu tx problem in listening state (branch-2.1)

dev at openvswitch.org dev at openvswitch.org
Sat Mar 15 16:46:47 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.1 has been updated
       via  3f2eec36b8675623de0041043827f3a5feb1edc8 (commit)
      from  42e4cc97a95f2d16dbee11a041dc74b0f1178f7d (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 3f2eec36b8675623de0041043827f3a5feb1edc8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3f2eec36b8675623de0041043827f3a5feb1edc8
Author: kmindg <kmindg at gmail.com>
		
stp: Fix bpdu tx problem in listening state
		
The restriction only allows to send bpdu in forwarding state in
compose_output_action__. But a port could send bpdu in listening
and learning state according to comments in lib/stp.h(State of
an STP port).

Until this commit, OVS did not send out BPDUs in listening and learning
states.  But those two states are temporary, the stp port will be in
forwarding state and send out BPDUs eventually (In the default
configuration listening and learning states last 15+15 second).  Therefore,
this bug increased convergence time but did not entirely break STP.

Signed-off-by: kmindg <kmindg at gmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/stp.c                    |    9 +++++++++
 lib/stp.h                    |    1 +
 ofproto/ofproto-dpif-xlate.c |   24 ++++++++++++++++++++----
 3 files changed, 30 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list