cvs commit: src/sys/net bridgestp.c

Andrew Thompson thompsa at FreeBSD.org
Mon Aug 15 02:54:30 GMT 2005


thompsa     2005-08-15 02:54:29 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bridgestp.c 
  Log:
  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().
  
  Reported by:    Michal Mertl
  Approved by:    mlaier (mentor)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.5       +2 -0      src/sys/net/bridgestp.c


More information about the cvs-all mailing list