#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
234488 |
|
20-Apr-2012 |
thompsa |
Move the interface media check to a taskqueue, some interfaces (usb) sleep during SIOCGIFMEDIA and we were holding locks.
|
#
234487 |
|
20-Apr-2012 |
thompsa |
Add linkstate to bridge(4), set the link to up when at least one underlying interface is up, otherwise the link is down.
This, among other things, allows carp to work on a bridge.
Prodded by: glebius Tested by: Alexander Lunev
|
#
232014 |
|
23-Feb-2012 |
thompsa |
bstp_input() always consumes the packet so remove the mbuf handling dance around it.
Obtained from: OpenBSD (r1.37)
|
#
222834 |
|
07-Jun-2011 |
zec |
Set curvnet context in a callout-trigerred code path.
MFC after: 3 days
|
#
174493 |
|
09-Dec-2007 |
thompsa |
Fix spelling.
Obtained from: OpenBSD
|
#
171724 |
|
04-Aug-2007 |
thompsa |
- Ensure the path cost does not exceed 65535 in legacy STP mode. - If the path cost is calculated when the link is down, set a pending flag so it is calculated again when it comes back up. - To not use 00:00:00:00:00:00 as the bridge id, all interfaces are scanned and the lowest number wins. All zeros is too low.
Approved by: re (rwatson)
|
#
167379 |
|
09-Mar-2007 |
thompsa |
Change the passing of callbacks to a struct in case this needs to be extended in the future.
|
#
165105 |
|
11-Dec-2006 |
thompsa |
These days P2P means peer-2-peer (also well known from serveral filesharing protocols) while PointToPoint has been PtP links. Change the variables accordingly while the code is still fresh and undocumented.
Requested by: bz
|
#
164880 |
|
04-Dec-2006 |
syrinx |
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)
|
#
164807 |
|
01-Dec-2006 |
imp |
fix typo in last commit
|
#
164806 |
|
01-Dec-2006 |
imp |
Use FreeBDS standard __packed as opposed to the gcc centric __attribute__(__packed__).
|
#
164653 |
|
27-Nov-2006 |
thompsa |
Sync with the OpenBSD port of RSTP - use flags rather than sperate ioctls for edge, p2p - implement p2p and autop2p flags - define large pathcost constant as ULL - show bridgeid and rootid in ifconfig
Obtained from: Reyk Floeter <reyk@openbsd.org>
|
#
164626 |
|
26-Nov-2006 |
thompsa |
use two stage creation of stp ports, this means that the stp variables can be set before the port is marked STP and they will no longer be overwrittten
|
#
164141 |
|
09-Nov-2006 |
thompsa |
MFp4 - Each stp port is added sequentially so it was possible for our bridgeid to change every time because the new port has a lower MAC address. Instead just find the lowest MAC address from all Ethernet adapters in the machine as the value only needs to be unique, this stops a lot of churn on the protocol. - Update the states after enabling or disabling a port. - Keep tabs if we have been stopped or started by our parent bridge. - The callout only needs to be drained before destroying the mutex, move it to bstp_detach.
|
#
163863 |
|
01-Nov-2006 |
thompsa |
Bring in support for the Rapid Spanning Tree Protocol (802.1w).
RSTP provides faster spanning tree convergence, the protocol will exchange information with neighboring switches to quickly transition to forwarding without creating loops. The code will default to RSTP mode but will downgrade any port connected to a legacy STP network so is fully backward compatible.
Reviewed by: syrinx Tested by: syrinx
|
#
160899 |
|
02-Aug-2006 |
thompsa |
Add a callback so we can notify the parent bridge that a port state change has occured, we need to do this from a taskqueue to avoid a LOR with the if_bridge mutex.
|
#
160867 |
|
31-Jul-2006 |
thompsa |
Add some statistics that are needed to support RFC4188 as part of the SoC2006 work on a bridge monitoring module for BSNMP.
Submitted by: shteryana (SoC 2006)
|
#
160703 |
|
26-Jul-2006 |
thompsa |
/tmp/cvsuusTrc
|