]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit695eb7f11aa8b92b1f7c2f9fbe8aa6b8039f8037
tree04f02aa5ea701d01baecb4ff34064d075ffe4d7a
parent6a99bf4675a16a28a17af99964db4b78a1817e34
[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