[NETNS][IPV6] route6 - make garbage collection work with multiple network namespaces
authorBenjamin Thery <benjamin.thery@bull.net>
Tue, 4 Mar 2008 21:49:47 +0000 (13:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 21:49:47 +0000 (13:49 -0800)
commit6891a346c387bd0a64afa50f4522f5fe8ba879d8
tree04f02aa5ea701d01baecb4ff34064d075ffe4d7a
parentf2fc6a54585a1be6669613a31fbaba2ecbadcd36
[NETNS][IPV6] route6 - make garbage collection work with multiple network namespaces

This patch makes the necessary changes to make IPv6 dst_entry garbage
collection work with multiple network namespaces.

In ip6_dst_gc(), static local variables are now declared
per-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/netns/ipv6.h
net/ipv6/route.c