Date: Fri, 19 Aug 2005 02:43:07 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bridgestp.c if_bridge.c Message-ID: <200508190243.j7J2h8q9092178@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508190243.j7J2h8q9092178>
