| To: | David Brownell <david-b@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: assertion failure at net/sched/sch_generic.c(530) |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Tue, 23 Sep 2003 17:02:16 -0700 |
| Cc: | hadi@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <3F70E12A.1090204@xxxxxxxxxxx> |
| References: | <3F70E12A.1090204@xxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Tue, 23 Sep 2003 17:11:22 -0700
David Brownell <david-b@xxxxxxxxxxx> wrote:
> KERNEL: assertion (dev->qdisc_list == NULL) failed at
> net/sched/sch_generic.c(530)
Crap, I think I know what made this start happening.
Jamal, your pfifo_fast statistics patch added this to
dev_activate() when we decide to add a default discipline:
write_lock(&qdisc_tree_lock);
qdisc->next = dev->qdisc_list;
dev->qdisc_list = qdisc;
write_unlock(&qdisc_tree_lock);
Something probably isn't clearing it later on when we
down the device.
Doesn't the ->reset() operation need to do this list
removal? If so, that's the problem, pfifo_fast_reset()
isn't doing the dev->qdisc_list removal. Actually it seems
like qdisc_destroy() takes care of it.
Or another possibility is that pfifo_fast is being added
twice to the list.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | assertion failure at net/sched/sch_generic.c(530), David Brownell |
|---|---|
| Next by Date: | Re: assertion failure at net/sched/sch_generic.c(530), David S. Miller |
| Previous by Thread: | assertion failure at net/sched/sch_generic.c(530), David Brownell |
| Next by Thread: | Re: assertion failure at net/sched/sch_generic.c(530), David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |