net: sched: flower fix typo
Subsystems (3)
Jamal Hadi Salim
maintainerPATCH 1/1 net: sched: flower fix typo
From: Jamal Hadi Salim <[email protected]>
Fix typo in the validation rules for flower's attributes
Signed-off-by Jamal Hadi Salim <[email protected]>
--- net/sched/cls_flower.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/sched/cls_flower.c +2 -2
@@ -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,
Signature · 1 line
1.7.9.5
David Miller
maintainerFrom: Jamal Hadi Salim <[email protected]>
Date: Thu, 25 Jun 2015 06:55:27 -0400
Quoted 5 lines
From: Jamal Hadi Salim <[email protected]>
Fix typo in the validation rules for flower's attributes
Signed-off-by Jamal Hadi Salim <[email protected]>
Oops, good catch, applied.