From: Cong Wang <xiyou.wangc...@gmail.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+21b29db13c065852f...@syzkaller.appspotmail.com > Cc: Jamal Hadi Salim <j...@mojatatu.com> > Cc: Jiri Pirko <j...@resnulli.us> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied.