aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r--net/sched/sch_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 04faee7ccbce..1047825d9f48 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -1920,6 +1920,8 @@ static void tc_bind_tclass(struct Qdisc *q, u32 portid, u32 clid,
1920 cl = cops->find(q, portid); 1920 cl = cops->find(q, portid);
1921 if (!cl) 1921 if (!cl)
1922 return; 1922 return;
1923 if (!cops->tcf_block)
1924 return;
1923 block = cops->tcf_block(q, cl, NULL); 1925 block = cops->tcf_block(q, cl, NULL);
1924 if (!block) 1926 if (!block)
1925 return; 1927 return;