netfilter: avoid get_random_bytes calls
authorFlorian Westphal <fw@strlen.de>
Thu, 19 Dec 2013 17:25:14 +0000 (18:25 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 20 Dec 2013 09:21:40 +0000 (10:21 +0100)
commita42b99a6e329654d376b330de057eff87686d890
tree6c03a35feddd49e54e19b89576f0b6818b7bb1a7
parent8cf4d6a224a0226987d9cba69cb46d93814fe449
netfilter: avoid get_random_bytes calls

All these users need an initial seed value for jhash, prandom is
perfectly fine.  This avoids draining the entropy pool where
its not strictly required.

nfnetlink_log did not use the random value at all.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_log.c
net/netfilter/nft_hash.c
net/netfilter/xt_RATEEST.c
net/netfilter/xt_connlimit.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_recent.c