]> git.baikalelectronics.ru Git - kernel.git/commit
tcp_metrics: Use a single hash table for all network namespaces.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 13 Mar 2015 05:07:44 +0000 (00:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2015 05:57:07 +0000 (01:57 -0400)
commit9ac1aafd4d5acd20bbaa3194d00db5fc6f22812e
tree4440bf30fb2500af39ea2d084c9caba0d5ca064f
parent7e61b8e587b5ad4b83a40793a991493cffcfea7f
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>
include/net/netns/ipv4.h
net/ipv4/tcp_metrics.c