[PKT_SCHED]: Convert sch_red to a classful qdisc
authorPatrick McHardy <kaber@trash.net>
Tue, 21 Mar 2006 03:20:44 +0000 (19:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 03:20:44 +0000 (19:20 -0800)
commitf38c39d6ce8226519455a6dfe91c2ad84f363f6f
tree2d217dcad1cde479e5200f488bada90e116b75ba
parenta70fcb0ba337956d91476e2e7c3e71d9df940a82
[PKT_SCHED]: Convert sch_red to a classful qdisc

Convert sch_red to a classful qdisc. All qdiscs that maintain accurate
backlog counters are eligible as child qdiscs. When a queue limit larger
than zero is given, a bfifo qdisc is used for backwards compatibility.
Current versions of tc enforce a limit larger than zero, other users
can avoid creating the default qdisc by using zero.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_red.c