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)