]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit40d239ba91bba417075e2e5df1c12f5627927f58
tree6c03a35feddd49e54e19b89576f0b6818b7bb1a7
parentea8bcdd131cc20551d996881ac8269983df96dbd
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