summaryrefslogtreecommitdiff
path: root/sys/net/if_ppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_ppp.c')
-rw-r--r--sys/net/if_ppp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index 87c873148a2..f1ca74c7309 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ppp.c,v 1.46 2006/03/25 22:41:47 djm Exp $ */
+/* $OpenBSD: if_ppp.c,v 1.47 2006/12/28 20:06:11 deraadt Exp $ */
/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
/*
@@ -1127,7 +1127,7 @@ pppintr()
splx(s2);
(*sc->sc_start)(sc);
}
- for (;;) {
+ while (sc->sc_rawq.ifq_head) {
s2 = splnet();
IF_DEQUEUE(&sc->sc_rawq, m);
splx(s2);