projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use get_random_u32() when possible
[linux-block.git]
/
net
/
ipv6
/
output_core.c
diff --git
a/net/ipv6/output_core.c
b/net/ipv6/output_core.c
index 2880dc7d9a491682bfea59757593d07178874b56..2685c3f15e9d30e8500f32e6b1e39ce36bf3509c 100644
(file)
--- a/
net/ipv6/output_core.c
+++ b/
net/ipv6/output_core.c
@@
-18,7
+18,7
@@
static u32 __ipv6_select_ident(struct net *net,
u32 id;
do {
- id =
p
random_u32();
+ id =
get_
random_u32();
} while (!id);
return id;