OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: replace macros net_random and net_srandom with direct calls to prandom
[android-x86/kernel.git]
/
net
/
sched
/
sch_hhf.c
diff --git
a/net/sched/sch_hhf.c
b/net/sched/sch_hhf.c
index
1cf84a9
..
647680b
100644
(file)
--- a/
net/sched/sch_hhf.c
+++ b/
net/sched/sch_hhf.c
@@
-607,7
+607,7
@@
static int hhf_init(struct Qdisc *sch, struct nlattr *opt)
sch->limit = 1000;
q->quantum = psched_mtu(qdisc_dev(sch));
- q->perturbation =
net_random
();
+ q->perturbation =
prandom_u32
();
INIT_LIST_HEAD(&q->new_buckets);
INIT_LIST_HEAD(&q->old_buckets);