]> err.no Git - linux-2.6/commit
pkt_sched: Never schedule non-root qdiscs.
authorDavid S. Miller <davem@davemloft.net>
Tue, 19 Aug 2008 03:51:18 +0000 (20:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Aug 2008 04:05:56 +0000 (21:05 -0700)
commit8608db031b4d2932d645709e2cfe8fbcd91a7305
tree01b2e63f9f28dddcb5c0dd72e9c8c5b73c866685
parent69747650c814a8a79fef412c7416adf823293a3e
pkt_sched: Never schedule non-root qdiscs.

Based upon initial discovery and patch by Jarek Poplawski.

The qdisc watchdogs can be attached to any qdisc, not just the root,
so make sure we schedule the correct one.

CBQ has a similar bug.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c
net/sched/sch_cbq.c