]> 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)
commitd5525ff30f1352ed1069d0aad3af9a04415bde47
tree4440bf30fb2500af39ea2d084c9caba0d5ca064f
parent19c0e5598ff16a35d2149c85155e9e3a4d3fe0f0
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