diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-10-13 14:00:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-16 22:00:40 +0200 |
commit | 69d78ef25c7b0058674145500efb12255738ba8a (patch) | |
tree | 60de21515aa005a877989e49434e14a6a393cc15 /net/sched/sch_qfq.c | |
parent | mqprio: Reserve last 32 classid values for HW traffic classes and misc IDs (diff) | |
download | linux-69d78ef25c7b0058674145500efb12255738ba8a.tar.xz linux-69d78ef25c7b0058674145500efb12255738ba8a.zip |
net: sched: store Qdisc pointer in struct block
Prepare for removal of tp->q and store Qdisc pointer in the block
structure.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_qfq.c')
-rw-r--r-- | net/sched/sch_qfq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_qfq.c b/net/sched/sch_qfq.c index 6ddfd4991108..8694c7b6d2b1 100644 --- a/net/sched/sch_qfq.c +++ b/net/sched/sch_qfq.c @@ -1419,7 +1419,7 @@ static int qfq_init_qdisc(struct Qdisc *sch, struct nlattr *opt) int i, j, err; u32 max_cl_shift, maxbudg_shift, max_classes; - err = tcf_block_get(&q->block, &q->filter_list); + err = tcf_block_get(&q->block, &q->filter_list, sch); if (err) return err; |