summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2014-04-19 12:08:11 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2014-04-19 12:08:11 +0000
commite03428079aa69e025deb632037183b1a1aea0604 (patch)
treed175728258d5bd9b75d7ac5d5245768e2e5d725e /sys
parent5d0e5b04021c555c735d37e7cdc9d04e3e450023 (diff)
remove altq special casing.
big WTF regarding the fastq use there while verifying w/ claudio, but that's for the ppp maintainer and unrelated
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_ppp.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index 92fc9f7304a..ab1dad08965 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ppp.c,v 1.72 2014/04/14 09:06:42 mpi Exp $ */
+/* $OpenBSD: if_ppp.c,v 1.73 2014/04/19 12:08:10 henning Exp $ */
/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
/*
@@ -819,11 +819,7 @@ pppoutput(struct ifnet *ifp, struct mbuf *m0, struct sockaddr *dst,
m0->m_nextpkt = NULL;
sc->sc_npqtail = &m0->m_nextpkt;
} else {
- if ((m0->m_flags & M_HIGHPRI)
-#ifdef ALTQ
- && ALTQ_IS_ENABLED(&sc->sc_if.if_snd) == 0
-#endif
- ) {
+ if (m0->m_flags & M_HIGHPRI) {
ifq = &sc->sc_fastq;
if (IF_QFULL(ifq) && dst->sa_family != AF_UNSPEC) {
IF_DROP(ifq);
@@ -886,11 +882,7 @@ ppp_requeue(struct ppp_softc *sc)
*/
*mpp = m->m_nextpkt;
m->m_nextpkt = NULL;
- if ((m->m_flags & M_HIGHPRI)
-#ifdef ALTQ
- && ALTQ_IS_ENABLED(&sc->sc_if.if_snd) == 0
-#endif
- ) {
+ if (m->m_flags & M_HIGHPRI) {
ifq = &sc->sc_fastq;
if (IF_QFULL(ifq)) {
IF_DROP(ifq);