kernel: make sched_esfq compile for 3.14
net_random was replaced with prandom_u32. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 40375
This commit is contained in:
parent
e24b601b56
commit
96c4e3eed0
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@
|
|||
+ struct Qdisc *sch = (struct Qdisc*)arg;
|
||||
+ struct esfq_sched_data *q = qdisc_priv(sch);
|
||||
+
|
||||
+ q->perturbation = net_random()&0x1F;
|
||||
+ q->perturbation = prandom_u32()&0x1F;
|
||||
+
|
||||
+ if (q->perturb_period) {
|
||||
+ q->perturb_timer.expires = jiffies + q->perturb_period;
|
||||
|
|
Loading…
Reference in a new issue