[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190910.192926.1095926485328225231.davem@davemloft.net>
Date: Tue, 10 Sep 2019 19:29:26 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org,
syzbot+21b29db13c065852f64b@...kaller.appspotmail.com,
jhs@...atatu.com, jiri@...nulli.us
Subject: Re: [Patch net] net_sched: check cops->tcf_block in
tc_bind_tclass()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Sun, 8 Sep 2019 12:11:23 -0700
> At least sch_red and sch_tbf don't implement ->tcf_block()
> while still have a non-zero tc "class".
>
> Instead of adding nop implementations to each of such qdisc's,
> we can just relax the check of cops->tcf_block() in
> tc_bind_tclass(). They don't support TC filter anyway.
>
> Reported-by: syzbot+21b29db13c065852f64b@...kaller.appspotmail.com
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Cc: Jiri Pirko <jiri@...nulli.us>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied.
Powered by blists - more mailing lists