Subject: Re: HTB and ingress scheduler SMP Soft Lockup in 2.6.23-2.6.25-rc8

From: Patrick McHardy <[email-masked]>
Date: Mon, 14 Apr 2008 09:51:00 +0200

Enrico Demarin wrote:
> Hi Patrick,
> 
> here it is, hope it will work out this time

I can't figure out the problem. Could you retry using
this patch? It should hopefully show us on which class
qdisc_decrease_qlen is looping.

diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 66148cc..40d05c5 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -1171,6 +1171,7 @@ static void htb_qlen_notify(struct Qdisc *sch, unsigned long arg)
 {
 	struct htb_class *cl = (struct htb_class *)arg;
 
+	printk("htb_qlen_notify classid=%x\n", cl->classid);
 	if (cl->un.leaf.q->q.qlen == 0)
 		htb_deactivate(qdisc_priv(sch), cl);
 }