projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f586a33
)
net: sched: flower fix typo
author
Jamal Hadi Salim
<hadi@mojatatu.com>
Thu, 25 Jun 2015 10:55:27 +0000
(06:55 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 25 Jun 2015 12:23:02 +0000
(
05:23
-0700)
Fix typo in the validation rules for flower's attributes
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c
patch
|
blob
|
history
diff --git
a/net/sched/cls_flower.c
b/net/sched/cls_flower.c
index b92d3f49c23e0dd93ac2ff0766bb97f1add15baa..9d37ccd95062a6840d1bb1e140b173dd1fe0b9d0 100644
(file)
--- a/
net/sched/cls_flower.c
+++ b/
net/sched/cls_flower.c
@@
-216,8
+216,8
@@
static const struct nla_policy fl_policy[TCA_FLOWER_MAX + 1] = {
[TCA_FLOWER_KEY_IPV6_DST_MASK] = { .len = sizeof(struct in6_addr) },
[TCA_FLOWER_KEY_TCP_SRC] = { .type = NLA_U16 },
[TCA_FLOWER_KEY_TCP_DST] = { .type = NLA_U16 },
- [TCA_FLOWER_KEY_
TC
P_SRC] = { .type = NLA_U16 },
- [TCA_FLOWER_KEY_
TC
P_DST] = { .type = NLA_U16 },
+ [TCA_FLOWER_KEY_
UD
P_SRC] = { .type = NLA_U16 },
+ [TCA_FLOWER_KEY_
UD
P_DST] = { .type = NLA_U16 },
};
static void fl_set_key_val(struct nlattr **tb,