]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFp4
authorthompsa <thompsa@FreeBSD.org>
Thu, 9 Nov 2006 22:50:49 +0000 (22:50 +0000)
committerthompsa <thompsa@FreeBSD.org>
Thu, 9 Nov 2006 22:50:49 +0000 (22:50 +0000)
commit56ac4302e20c910a87bfc933138eb38f4c21af7a
tree52477fda529c96e17848fe9963901583808b3286
parent1a66ce5fa5b182346f2d65a791047524fd16bc42
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.
sys/net/bridgestp.c
sys/net/bridgestp.h