[NETNS][IPV6] rt6_stats - dynamically allocate the routes statistics
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 4 Mar 2008 07:33:43 +0000 (23:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 07:33:43 +0000 (23:33 -0800)
commit6cc118bd506ae8c6436f507b838a0e1f6185fec2
tree64c06a8f0c6c5fded8aa4298f5ddb2bfd15cccc0
parentdcabb819a6eced95ef531b001e663d0d592c8d9f
[NETNS][IPV6] rt6_stats - dynamically allocate the routes statistics

This patch allocates the rt6_stats struct dynamically when the fib6 is
initialized. That provides the ability to create several instances of
this structure for the network namespaces.

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