Commit 59fdc62d authored by David S. Miller's avatar David S. Miller

[PKT_SCHED]: Missing rta_len init in sch_delay.

parent 6de48267
......@@ -165,6 +165,7 @@ static int change_limit(struct Qdisc *q, u32 limit)
return -ENOMEM;
rta->rta_type = RTM_NEWQDISC;
rta->rta_len = RTA_LENGTH(sizeof(struct tc_fifo_qopt));
((struct tc_fifo_qopt *)RTA_DATA(rta))->limit = limit;
ret = q->ops->change(q, rta);
kfree(rta);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment