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>
这个提交包含在:
@@ -212,7 +212,7 @@ static int prio_init(struct Qdisc *sch, struct nlattr *opt)
|
||||
if (!opt)
|
||||
return -EINVAL;
|
||||
|
||||
err = tcf_block_get(&q->block, &q->filter_list);
|
||||
err = tcf_block_get(&q->block, &q->filter_list, sch);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户