aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-04-18 16:17:01 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-04-25 14:52:12 +0200
commit141658fb02c248e6243d619cb7d48a76158a66ac (patch)
tree20c7f5374ccaecbfa055d6ad638a1f4ab73d46ed /include/net/netfilter
parentnetfilter: conntrack: use get_random_once for nat and expectations (diff)
downloadlinux-dev-141658fb02c248e6243d619cb7d48a76158a66ac.tar.xz
linux-dev-141658fb02c248e6243d619cb7d48a76158a66ac.zip
netfilter: conntrack: use get_random_once for conntrack hash seed
As earlier commit removed accessed to the hash from other files we can also make it static. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r--include/net/netfilter/nf_conntrack.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h
index fde4068eec0b..dd78bea227c8 100644
--- a/include/net/netfilter/nf_conntrack.h
+++ b/include/net/netfilter/nf_conntrack.h
@@ -289,8 +289,6 @@ struct kernel_param;
int nf_conntrack_set_hashsize(const char *val, struct kernel_param *kp);
extern unsigned int nf_conntrack_htable_size;
extern unsigned int nf_conntrack_max;
-extern unsigned int nf_conntrack_hash_rnd;
-void init_nf_conntrack_hash_rnd(void);
struct nf_conn *nf_ct_tmpl_alloc(struct net *net,
const struct nf_conntrack_zone *zone,