diff options
author | Patrick McHardy <kaber@trash.net> | 2006-03-21 04:01:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 04:01:06 +0100 |
commit | cdc7f8e362bcadbc312c97fb69d8d59676eec422 (patch) | |
tree | bbdf644a287b3e98b9ede73ba55e9de79682e28d /net/sched/sch_atm.c | |
parent | [PKT_SCHED]: Qdisc drop operation is optional (diff) | |
download | linux-cdc7f8e362bcadbc312c97fb69d8d59676eec422.tar.xz linux-cdc7f8e362bcadbc312c97fb69d8d59676eec422.zip |
[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_atm.c')
-rw-r--r-- | net/sched/sch_atm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c index 93ebce40acac..ac7cb60d1e25 100644 --- a/net/sched/sch_atm.c +++ b/net/sched/sch_atm.c @@ -638,6 +638,7 @@ static int atm_tc_dump_class(struct Qdisc *sch, unsigned long cl, sch,p,flow,skb,tcm); if (!find_flow(p,flow)) return -EINVAL; tcm->tcm_handle = flow->classid; + tcm->tcm_info = flow->q->handle; rta = (struct rtattr *) b; RTA_PUT(skb,TCA_OPTIONS,0,NULL); RTA_PUT(skb,TCA_ATM_HDR,flow->hdr_len,flow->hdr); |