ofproto-dpif: Cleanup STP on ports when disabled on their bridge.
authorEthan Jackson <ethan@nicira.com>
Sun, 19 Feb 2012 08:34:28 +0000 (00:34 -0800)
committerEthan Jackson <ethan@nicira.com>
Sun, 19 Feb 2012 08:50:51 +0000 (00:50 -0800)
commit266ed172aa587bf8e12c1b1f98c1042011e775ca
tree20556b3145d6dff49d272ac627ccf887b0dee50f
parentf12bbb6bd9c8f8d985bf44ad09c1ba5dfd2ebcff
ofproto-dpif: Cleanup STP on ports when disabled on their bridge.

When STP is enabled on a bridge, the STP module puts its ports in
an STP_LISTENING state until STP converges.  This causes all
traffic destined for these ports to be dropped.  If STP is disabled
on the bridge, but not explicitly disabled on its ports, the bridge
fails to remove the STP state from these ports.  Therefore, if a
port is in an STP_LISTENING state, it will remain in that state and
continue to drop all traffic indefinitely.  This patch fixes the
issue.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Bug #9157.
ofproto/ofproto-dpif.c