Ok Kyle, remove the old patch and please try this patch.  If it works
    I will add the ifq_purge() to all the ALTQ classes.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>

Index: altq/altq_cbq.c
===================================================================
RCS file: /cvs/src/sys/net/altq/altq_cbq.c,v
retrieving revision 1.4
diff -u -r1.4 altq_cbq.c
--- altq/altq_cbq.c     5 Sep 2006 00:55:47 -0000       1.4
+++ altq/altq_cbq.c     13 Oct 2006 16:31:49 -0000
@@ -231,6 +231,7 @@
        callout_init(&cbqp->cbq_callout);
        cbqp->cbq_qlen = 0;
        cbqp->ifnp.ifq_ = &ifp->if_snd;     /* keep the ifq */
+       ifq_purge(&ifp->if_snd);
 
        /* keep the state in pf_altq */
        a->altq_disc = cbqp;

Reply via email to