]> Pileus Git - ~andy/linux/blobdiff - net/netfilter/xt_RATEEST.c
Merge tag 'spi-v3.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
[~andy/linux] / net / netfilter / xt_RATEEST.c
index 190854be76294577e4542e49fc79fc2e18f5665b..370adf622cefd29f04f39cd227a9d4f9869d3b88 100644 (file)
@@ -100,7 +100,7 @@ static int xt_rateest_tg_checkentry(const struct xt_tgchk_param *par)
        int ret;
 
        if (unlikely(!rnd_inited)) {
-               jhash_rnd = prandom_u32();
+               get_random_bytes(&jhash_rnd, sizeof(jhash_rnd));
                rnd_inited = true;
        }