diff options
Diffstat (limited to 'net/sched/sch_fq_codel.c')
-rw-r--r-- | net/sched/sch_fq_codel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_fq_codel.c b/net/sched/sch_fq_codel.c index 55786283a3df..ba5bc929eac7 100644 --- a/net/sched/sch_fq_codel.c +++ b/net/sched/sch_fq_codel.c | |||
@@ -390,7 +390,7 @@ static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt) | |||
390 | sch->limit = 10*1024; | 390 | sch->limit = 10*1024; |
391 | q->flows_cnt = 1024; | 391 | q->flows_cnt = 1024; |
392 | q->quantum = psched_mtu(qdisc_dev(sch)); | 392 | q->quantum = psched_mtu(qdisc_dev(sch)); |
393 | q->perturbation = net_random(); | 393 | q->perturbation = prandom_u32(); |
394 | INIT_LIST_HEAD(&q->new_flows); | 394 | INIT_LIST_HEAD(&q->new_flows); |
395 | INIT_LIST_HEAD(&q->old_flows); | 395 | INIT_LIST_HEAD(&q->old_flows); |
396 | codel_params_init(&q->cparams); | 396 | codel_params_init(&q->cparams); |