cvs commit: src/sys/net bridgestp.c bridgestp.h

Andrew Thompson thompsa at FreeBSD.org
Thu Nov 9 23:03:20 UTC 2006


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


More information about the cvs-src mailing list