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>
This commit is contained in:

کامیت شده توسط
David S. Miller

والد
32302902ff
کامیت
69d78ef25c
@@ -344,7 +344,7 @@ static int dsmark_init(struct Qdisc *sch, struct nlattr *opt)
|
||||
if (!opt)
|
||||
goto errout;
|
||||
|
||||
err = tcf_block_get(&p->block, &p->filter_list);
|
||||
err = tcf_block_get(&p->block, &p->filter_list, sch);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
مرجع در شماره جدید
Block a user