summaryrefslogtreecommitdiff
path: root/sys/net/if_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_loop.c')
-rw-r--r--sys/net/if_loop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index d3556ef14e8..59c4f3d4922 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_loop.c,v 1.38 2006/01/04 06:04:42 canacar Exp $ */
+/* $OpenBSD: if_loop.c,v 1.39 2006/03/04 22:40:15 brad Exp $ */
/* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */
/*
@@ -277,7 +277,7 @@ looutput(ifp, m, dst, rt)
afp = mtod(m, int32_t *);
*afp = (int32_t)dst->sa_family;
- s = splimp();
+ s = splnet();
IFQ_ENQUEUE(&ifp->if_snd, m, NULL, error);
(*ifp->if_start)(ifp);
splx(s);
@@ -316,7 +316,7 @@ looutput(ifp, m, dst, rt)
m_freem(m);
return (EAFNOSUPPORT);
}
- s = splimp();
+ s = splnet();
if (IF_QFULL(ifq)) {
IF_DROP(ifq);
m_freem(m);
@@ -342,7 +342,7 @@ lo_altqstart(ifp)
int s, isr;
while (1) {
- s = splimp();
+ s = splnet();
IFQ_DEQUEUE(&ifp->if_snd, m);
splx(s);
if (m == NULL)
@@ -384,7 +384,7 @@ lo_altqstart(ifp)
return;
}
- s = splimp();
+ s = splnet();
if (IF_QFULL(ifq)) {
IF_DROP(ifq);
m_freem(m);