From: Cong Wang <[email protected]> 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: [email protected] > Cc: Jamal Hadi Salim <[email protected]> > Cc: Jiri Pirko <[email protected]> > Signed-off-by: Cong Wang <[email protected]> Applied.
