]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- updated ESFQ for 3.14
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Apr 2014 21:10:54 +0000 (23:10 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Apr 2014 21:10:54 +0000 (23:10 +0200)
kernel-esfq.patch

index 56ec97d2f3d68142deb71e16e7c8f4d3d9c247ed..355a6444148e712c6ec3484bc91eb6e854d886fd 100644 (file)
@@ -563,7 +563,7 @@ diff -Naur linux-2.6.24.orig/net/sched/sch_esfq.c linux-2.6.24/net/sched/sch_esf
 +      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;
This page took 1.951946 seconds and 4 git commands to generate.