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

dev at openvswitch.org dev at openvswitch.org
Sat Mar 15 16:43:34 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, master has been updated
       via  0d1cee123a84ef8885834c0d086c4a3d5d48355f (commit)
      from  cc7a9de0a5b52ae2b8161e5d8c9d51c61f849102 (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 0d1cee123a84ef8885834c0d086c4a3d5d48355f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0d1cee123a84ef8885834c0d086c4a3d5d48355f
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