projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2f3b2
)
kernel: make sched_esfq compile for 3.14
author
Jonas Gorski
<jogo@openwrt.org>
Fri, 4 Apr 2014 10:16:47 +0000
(10:16 +0000)
committer
Jonas Gorski
<jogo@openwrt.org>
Fri, 4 Apr 2014 10:16:47 +0000
(10:16 +0000)
net_random was replaced with prandom_u32.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40375
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/generic/patches-3.14/620-sched_esfq.patch
patch
|
blob
|
history
diff --git
a/target/linux/generic/patches-3.14/620-sched_esfq.patch
b/target/linux/generic/patches-3.14/620-sched_esfq.patch
index
9646988
..
9726e4a
100644
(file)
--- a/
target/linux/generic/patches-3.14/620-sched_esfq.patch
+++ b/
target/linux/generic/patches-3.14/620-sched_esfq.patch
@@
-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;