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

Andrew Thompson thompsa at FreeBSD.org
Fri Aug 19 02:43:08 GMT 2005


thompsa     2005-08-19 02:43:07 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              bridgestp.c if_bridge.c 
  Log:
  MFC: if_bridge.c, r1.17; bridgestp.c, r1.5
  
  >   Ensure that we are holding the lock when initialising the bridge interface. We
  >   could initialise while unlocked if the bridge is not up when setting the inet
  >   address, ether_ioctl() would call bridge_init.
  >
  >   Change it so bridge_init is always called unlocked and then locks before
  >   calling bstp_initialization().
  
  Approved by:    re (kensmith), mlaier (mentor)
  
  Revision  Changes    Path
  1.3.2.1   +2 -0      src/sys/net/bridgestp.c
  1.11.2.5  +5 -0      src/sys/net/if_bridge.c


More information about the cvs-src mailing list