summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-11 04:27:12 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-11 04:27:12 +0000
commit62b8941a29f76ab1c9efb4dca0c4734b0a1e286e (patch)
tree3c849e0ff57c57326207297329ee86150939c142
parenta8c83639e4c443f6f78816677b2861a26ae4c89a (diff)
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