DragonFly BSD
DragonFly bugs List (threaded) for 2006-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue346] altq kernel panic with recent HEAD


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Oct 2006 09:33:51 -0700 (PDT)

    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 
					<dillon@xxxxxxxxxxxxx>

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;



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]