diff options
author | Jamal Hadi Salim <hadi@mojatatu.com> | 2015-06-25 13:55:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-25 15:23:02 +0300 |
commit | b175c3a44fab06e1eccc793e3dadccbf6afc54cf (patch) | |
tree | 2b09c13b0a30b498507b1112cac1a24b1e4322c2 /net | |
parent | f586a3360197a63b5423001553ab23025242ac72 (diff) | |
download | linux-b175c3a44fab06e1eccc793e3dadccbf6afc54cf.tar.xz |
net: sched: flower fix typo
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/sched/cls_flower.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_flower.c b/net/sched/cls_flower.c index b92d3f49c23e..9d37ccd95062 100644 --- 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_TCP_SRC] = { .type = NLA_U16 }, - [TCA_FLOWER_KEY_TCP_DST] = { .type = NLA_U16 }, + [TCA_FLOWER_KEY_UDP_SRC] = { .type = NLA_U16 }, + [TCA_FLOWER_KEY_UDP_DST] = { .type = NLA_U16 }, }; static void fl_set_key_val(struct nlattr **tb, |