[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpVE5-59QPiP3Od7p-Fkjwjcm5QYrncN0LofWEC+TPTZUw@mail.gmail.com>
Date: Sat, 7 Dec 2019 10:57:20 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
syzbot <syzkaller@...glegroups.com>,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH net] net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add()
On Sat, Dec 7, 2019 at 10:49 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> Use the new tcf_proto_check_kind() helper to make sure user
> provided value is well formed.
...
> Fixes: 6f96c3c6904c ("net_sched: fix backward compatibility for TCA_KIND")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
> Cc: Cong Wang <xiyou.wangcong@...il.com>
> Cc: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Cc: Jiri Pirko <jiri@...nulli.us>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Just a nit: the extack message should be for a chain template, not
for a TC filter.
Thanks.
Powered by blists - more mailing lists