remove very questionable altq "optimization" - claudio and I can't
authorhenning <henning@openbsd.org>
Sat, 19 Apr 2014 12:18:35 +0000 (12:18 +0000)
committerhenning <henning@openbsd.org>
Sat, 19 Apr 2014 12:18:35 +0000 (12:18 +0000)
convince ourselves that that was right to begin with. anyway, begone.

sys/net/ppp_tty.c

index 0415599..54cc076 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ppp_tty.c,v 1.26 2013/03/28 23:10:05 tedu Exp $       */
+/*     $OpenBSD: ppp_tty.c,v 1.27 2014/04/19 12:18:35 henning Exp $    */
 /*     $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $    */
 
 /*
@@ -711,15 +711,6 @@ pppstart(struct tty *tp, int force)
     if (tp->t_oproc != NULL)
        (*tp->t_oproc)(tp);
 
-#ifdef ALTQ
-    /*
-     * if ALTQ is enabled, don't invoke NETISR_PPP.
-     * pppintr() could loop without doing anything useful
-     * under rate-limiting.
-     */
-    if (ALTQ_IS_ENABLED(&sc->sc_if.if_snd))
-       return 0;
-#endif
     /*
      * If the transmit queue has drained and the tty has not hung up
      * or been disconnected from the ppp unit, then tell if_ppp.c that