cvs commit: src/sys/net if_bridge.c

Andrew Thompson thompsa at FreeBSD.org
Mon Aug 15 02:50:14 GMT 2005


thompsa     2005-08-15 02:50:13 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_bridge.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.17      +5 -0      src/sys/net/if_bridge.c


More information about the cvs-src mailing list