projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
net
/
netfilter
/
xt_recent.c
diff --git
a/net/netfilter/xt_recent.c
b/net/netfilter/xt_recent.c
index bfdc29f1a04a82073a8527c599f7ca4dfdf09b78..1e657cf715c478d9a9ec77411bf7536b14278d14 100644
(file)
--- a/
net/netfilter/xt_recent.c
+++ b/
net/netfilter/xt_recent.c
@@
-334,7
+334,7
@@
static int recent_mt_check(const struct xt_mtchk_param *par,
size_t sz;
if (unlikely(!hash_rnd_inited)) {
-
hash_rnd = prandom_u32(
);
+
get_random_bytes(&hash_rnd, sizeof(hash_rnd)
);
hash_rnd_inited = true;
}
if (info->check_set & ~XT_RECENT_VALID_FLAGS) {