[issue346] altq kernel panic with recent HEAD
Matthew Dillon
dillon at apollo.backplane.com
Fri Oct 13 09:37:38 PDT 2006
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 at 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;
More information about the Bugs
mailing list