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]
/
include
/
net
/
netfilter
/
nf_queue.h
diff --git
a/include/net/netfilter/nf_queue.h
b/include/net/netfilter/nf_queue.h
index 980daa6e1e3aa42d42be855630614afb65a5acd9..c81021ab07aa17e527d644998ab8ebba70eaf7b1 100644
(file)
--- a/
include/net/netfilter/nf_queue.h
+++ b/
include/net/netfilter/nf_queue.h
@@
-43,7
+43,7
@@
void nf_queue_entry_free(struct nf_queue_entry *entry);
static inline void init_hashrandom(u32 *jhash_initval)
{
while (*jhash_initval == 0)
- *jhash_initval =
p
random_u32();
+ *jhash_initval =
get_
random_u32();
}
static inline u32 hash_v4(const struct iphdr *iph, u32 initval)