diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-06-08 15:11:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-08 15:11:02 -0700 |
commit | e1e284a4bd827db2288af9536664b44590e419eb (patch) | |
tree | 040570a09a556d4e2ae13694b0d4b7aeae803feb /net/sched | |
parent | 4890062960cbc4d3cebdbd8261a68bc85efcf5d4 (diff) | |
download | linux-next-e1e284a4bd827db2288af9536664b44590e419eb.tar.gz |
[PKT_SCHED]: Dump classification result for basic classifier
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/cls_basic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sched/cls_basic.c b/net/sched/cls_basic.c index 0d2d4415f334..dfb300bb6baa 100644 --- a/net/sched/cls_basic.c +++ b/net/sched/cls_basic.c @@ -261,6 +261,9 @@ static int basic_dump(struct tcf_proto *tp, unsigned long fh, rta = (struct rtattr *) b; RTA_PUT(skb, TCA_OPTIONS, 0, NULL); + if (f->res.classid) + RTA_PUT(skb, TCA_BASIC_CLASSID, sizeof(u32), &f->res.classid); + if (tcf_exts_dump(skb, &f->exts, &basic_ext_map) < 0 || tcf_em_tree_dump(skb, &f->ematches, TCA_BASIC_EMATCHES) < 0) goto rtattr_failure; |