[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)
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

Simple merge
Simple merge
Simple merge