aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-03-13 00:07:44 -0500
committerDavid S. Miller <davem@davemloft.net>2015-03-13 01:57:07 -0400
commit098a697b497e3154a1a583c1d34c67568acaadcc (patch)
tree4440bf30fb2500af39ea2d084c9caba0d5ca064f /include
parenttcp_metrics: Rewrite tcp_metrics_flush_all (diff)
downloadlinux-dev-098a697b497e3154a1a583c1d34c67568acaadcc.tar.xz
linux-dev-098a697b497e3154a1a583c1d34c67568acaadcc.zip
tcp_metrics: Use a single hash table for all network namespaces.
Now that all of the operations are safe on a single hash table accross network namespaces, allocate a single global hash table and update the code to use it. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netns/ipv4.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index 8f3a1a1a5a94..614a49be68a9 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -54,8 +54,6 @@ struct netns_ipv4 {
struct sock *mc_autojoin_sk;
struct inet_peer_base *peers;
- struct tcpm_hash_bucket *tcp_metrics_hash;
- unsigned int tcp_metrics_hash_log;
struct sock * __percpu *tcp_sk;
struct netns_frags frags;
#ifdef CONFIG_NETFILTER