]> err.no Git - linux-2.6/commit
[NETNS][IPV6] rt6_stats - make the stats per network namespace
authorBenjamin Thery <benjamin.thery@bull.net>
Tue, 4 Mar 2008 07:34:17 +0000 (23:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 07:34:17 +0000 (23:34 -0800)
commitc572872f89e46e38cdb35a43b81122bfb7ff43fc
tree2392f9991dc73bff96966fabe9e25bd4ebfa2dda
parent6cc118bd506ae8c6436f507b838a0e1f6185fec2
[NETNS][IPV6] rt6_stats - make the stats per network namespace

The rt6_stats is now per namespace with this patch. It is allocated
when a network namespace is created and freed when the network
namespace exits and references are relative to the network namespace.

Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
include/net/netns/ipv6.h
net/ipv6/ip6_fib.c
net/ipv6/route.c