diff options
author | Patrick McHardy <kaber@trash.net> | 2006-03-20 22:01:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:01:06 -0500 |
commit | cdc7f8e362bcadbc312c97fb69d8d59676eec422 (patch) | |
tree | bbdf644a287b3e98b9ede73ba55e9de79682e28d /net/sched/sch_dsmark.c | |
parent | 6d037a26f08711a222ed0d3d12b09e93eed7d3e8 (diff) |
[PKT_SCHED]: Dump child qdisc handle in sch_{atm,dsmark}
A qdisc should set tcm_info to the child qdisc handle in its class
dump function.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_dsmark.c')
-rw-r--r-- | net/sched/sch_dsmark.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c index 13e0e7b3856b..f6320ca70493 100644 --- a/net/sched/sch_dsmark.c +++ b/net/sched/sch_dsmark.c | |||
@@ -438,6 +438,7 @@ static int dsmark_dump_class(struct Qdisc *sch, unsigned long cl, | |||
438 | return -EINVAL; | 438 | return -EINVAL; |
439 | 439 | ||
440 | tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl-1); | 440 | tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl-1); |
441 | tcm->tcm_info = p->q->handle; | ||
441 | 442 | ||
442 | opts = RTA_NEST(skb, TCA_OPTIONS); | 443 | opts = RTA_NEST(skb, TCA_OPTIONS); |
443 | RTA_PUT_U8(skb,TCA_DSMARK_MASK, p->mask[cl-1]); | 444 | RTA_PUT_U8(skb,TCA_DSMARK_MASK, p->mask[cl-1]); |