aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2005-08-15 02:54:29 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2005-08-15 02:54:29 +0000
commit691cdb53513265d33445bf5b67ee0adaa9725a01 (patch)
treedd35e0ee208b5585a70f74b07a555306b25654de /sys
parenta1c0fd4dee6be0d533f1f0b688d2279ed96ba793 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net/bridgestp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index b4d0a821419a..6e8f0a1c51ea 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -830,6 +830,8 @@ bstp_initialization(struct bridge_softc *sc)
{
struct bridge_iflist *bif, *mif;
+ BRIDGE_LOCK_ASSERT(sc);
+
mif = NULL;
LIST_FOREACH(bif, &sc->sc_iflist, bif_next) {
if ((bif->bif_flags & IFBIF_STP) == 0)