Page MenuHomeFreeBSD

D9290.id24306.diff
No OneTemporary

D9290.id24306.diff

Index: sys/net/if_bridge.c
===================================================================
--- sys/net/if_bridge.c
+++ sys/net/if_bridge.c
@@ -909,14 +909,18 @@
mask &= bif->bif_savedcaps;
}
+ BRIDGE_XLOCK(sc);
LIST_FOREACH(bif, &sc->sc_iflist, bif_next) {
enabled = bif->bif_ifp->if_capenable;
enabled &= ~BRIDGE_IFCAPS_STRIP;
/* strip off mask bits and enable them again if allowed */
enabled &= ~BRIDGE_IFCAPS_MASK;
enabled |= mask;
+ BRIDGE_UNLOCK(sc);
bridge_set_ifcap(sc, bif, enabled);
+ BRIDGE_LOCK(sc);
}
+ BRIDGE_XDROP(sec);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 30, 5:00 AM (13 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32450942
Default Alt Text
D9290.id24306.diff (577 B)

Event Timeline