summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-06-11 04:27:11 +0000
committerart <art@openbsd.org>2002-06-11 04:27:11 +0000
commit4c4a5800ab5efc1b7ab0b8d25d6f8978e5bfcaac (patch)
treee6cfeae050bb7e386f9dfcdb75adda99858eef48
parentsplassert(IPL_SOFTNET) where comment indicate that. (diff)
downloadwireguard-openbsd-4c4a5800ab5efc1b7ab0b8d25d6f8978e5bfcaac.tar.xz
wireguard-openbsd-4c4a5800ab5efc1b7ab0b8d25d6f8978e5bfcaac.zip
splassert(IPL_NET) where comment says that we should.
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index d026ec3731e..77fe44ba83f 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.95 2002/06/10 09:13:26 itojun Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.96 2002/06/11 04:27:11 art Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -1359,6 +1359,8 @@ bridge_broadcast(sc, ifp, eh, m)
struct ifnet *dst_if;
int len = m->m_pkthdr.len, used = 0;
+ splassert(IPL_NET);
+
LIST_FOREACH(p, &sc->sc_iflist, next) {
/*
* Don't retransmit out of the same interface where