aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2019-09-08 12:11:23 -0700
committerDavid S. Miller <[email protected]>2019-09-10 18:28:56 +0100
commit8b142a00edcf8422ca48b8de88d286efb500cb53 (patch)
tree7b5884211098274bc914b12de206aa3f58cee28d /tools/perf/util/scripting-engines/trace-event-python.c
parent94a72b3f024fc7e9ab640897a1e38583a470659d (diff)
net_sched: check cops->tcf_block in tc_bind_tclass()
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]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions