Date: Thu, 9 Nov 2006 22:50:49 +0000 (UTC) From: Andrew Thompson <thompsa@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 Message-ID: <200611092250.kA9MonfC021148@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2006-11-09 22:50:49 UTC
FreeBSD src repository
Modified files:
sys/net bridgestp.c bridgestp.h
Log:
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.
Revision Changes Path
1.26 +43 -20 src/sys/net/bridgestp.c
1.6 +1 -0 src/sys/net/bridgestp.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611092250.kA9MonfC021148>
