netfilter: conntrack: use get_random_once for nat and expectations
authorFlorian Westphal <fw@strlen.de>
Mon, 18 Apr 2016 14:17:00 +0000 (16:17 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 Apr 2016 12:52:12 +0000 (14:52 +0200)
commit7001c6d109ea41a88e7156f467cf9fb5f37f5036
tree8e6d2508a1e4eb9928e596cad02958b414dbaeaf
parenta3efd81205b128a802025abb689925177a4607ed
netfilter: conntrack: use get_random_once for nat and expectations

Use a private seed and init it using get_random_once.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_expect.c
net/netfilter/nf_nat_core.c