projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4890062
)
[PKT_SCHED]: Dump classification result for basic classifier
author
Thomas Graf
<tgraf@suug.ch>
Wed, 8 Jun 2005 22:11:02 +0000
(15:11 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 8 Jun 2005 22:11:02 +0000
(15:11 -0700)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_basic.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/cls_basic.c
b/net/sched/cls_basic.c
index 0d2d4415f334850b7006c110bc502736ae3f83b1..dfb300bb6baa067963a5e0e1e160087ae69d291d 100644
(file)
--- 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;