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>
Showing
- net/netfilter/nfnetlink_log.c 0 additions, 8 deletionsnet/netfilter/nfnetlink_log.c
- net/netfilter/nft_hash.c 1 addition, 1 deletionnet/netfilter/nft_hash.c
- net/netfilter/xt_RATEEST.c 1 addition, 1 deletionnet/netfilter/xt_RATEEST.c
- net/netfilter/xt_connlimit.c 1 addition, 1 deletionnet/netfilter/xt_connlimit.c
- net/netfilter/xt_hashlimit.c 1 addition, 1 deletionnet/netfilter/xt_hashlimit.c
- net/netfilter/xt_recent.c 1 addition, 1 deletionnet/netfilter/xt_recent.c
Loading
Please register or sign in to comment