Date: Mon, 4 Dec 2006 14:45:03 +0000 (UTC) From: Shteryana Shopova <syrinx@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bridgestp.c bridgestp.h if_bridge.c if_bridgevar.h Message-ID: <200612041445.kB4Ej3bK036126@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
syrinx 2006-12-04 14:45:03 UTC
FreeBSD src repository
Modified files:
sys/net bridgestp.c bridgestp.h if_bridge.c
if_bridgevar.h
Log:
Add two new flags to if_bridge(4) indicating whether the edge flag
of the bridge port and path cost have been administratively set or
calculated automatically by RSTP.
Make sure to transition from non-edge to edge when the port goes down
and the edge flag was manually set before.
This is needed to comply with the condition
((!portEnabled && AdminEdge) || ....)
in the Bridge Detection State Machine (IEE802.1D-2004, p. 171).
Reviewed by: thompsa
Approved by: bz (mentor)
Revision Changes Path
1.32 +9 -2 src/sys/net/bridgestp.c
1.11 +1 -0 src/sys/net/bridgestp.h
1.91 +4 -0 src/sys/net/if_bridge.c
1.19 +4 -1 src/sys/net/if_bridgevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612041445.kB4Ej3bK036126>
