git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
net
/
sched
/
sch_delay.c
diff --git
a/net/sched/sch_delay.c
b/net/sched/sch_delay.c
index
9c8a3ce
..
c1a4210
100644
(file)
--- a/
net/sched/sch_delay.c
+++ b/
net/sched/sch_delay.c
@@
-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);