OSDN Git Service

netfilter: nft_hash: get random bytes if seed is not specified
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 3 Nov 2016 16:52:19 +0000 (17:52 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Nov 2016 22:41:09 +0000 (23:41 +0100)
commitf86dab3aa6fef724456ba7e3fae3e2f02414ae86
tree66522288484f98d5040d1baf91f9295ece8780b5
parent08733a0cb7decce40bbbd0331a0449465f13c444
netfilter: nft_hash: get random bytes if seed is not specified

If the user doesn't specify a seed, generate one at configuration time.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_hash.c