]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pkt_sched: sch_hfsc: sch_htb: Add non-work-conserving warning handler.
authorJarek Poplawski <jarkao2@gmail.com>
Sun, 1 Feb 2009 09:12:42 +0000 (01:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2009 09:12:42 +0000 (01:12 -0800)
commitb00355db3f88d96810a60011a30cfb2c3469409d
tree43331c769665e619892d8f97a38ce1d12b3a6363
parenteefef1cf7653cd4e0aaf743c00ae8345086cdc01
pkt_sched: sch_hfsc: sch_htb: Add non-work-conserving warning handler.

Patrick McHardy <kaber@trash.net> suggested:
> How about making this flag and the warning message (in a out-of-line
> function) globally available? Other qdiscs (f.i. HFSC) can't deal with
> inner non-work-conserving qdiscs as well.

This patch uses qdisc->flags field of "suspected" child qdisc.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h
include/net/sch_generic.h
net/sched/sch_api.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c