From: Jamal Hadi Salim Date: Thu, 25 Jun 2015 10:55:27 +0000 (-0400) Subject: net: sched: flower fix typo X-Git-Tag: v5.15~15514^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b175c3a44fab06e1eccc793e3dadccbf6afc54cf;p=platform%2Fkernel%2Flinux-starfive.git net: sched: flower fix typo Fix typo in the validation rules for flower's attributes Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- diff --git a/net/sched/cls_flower.c b/net/sched/cls_flower.c index b92d3f4..9d37ccd 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,