Commit ecf290ba authored by David S. Miller's avatar David S. Miller

Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6

into kernel.bkbits.net:/home/davem/net-2.6
parents 5979a91f 59fdc62d
...@@ -165,6 +165,7 @@ static int change_limit(struct Qdisc *q, u32 limit) ...@@ -165,6 +165,7 @@ static int change_limit(struct Qdisc *q, u32 limit)
return -ENOMEM; return -ENOMEM;
rta->rta_type = RTM_NEWQDISC; rta->rta_type = RTM_NEWQDISC;
rta->rta_len = RTA_LENGTH(sizeof(struct tc_fifo_qopt));
((struct tc_fifo_qopt *)RTA_DATA(rta))->limit = limit; ((struct tc_fifo_qopt *)RTA_DATA(rta))->limit = limit;
ret = q->ops->change(q, rta); ret = q->ops->change(q, rta);
kfree(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