diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2008-03-04 16:49:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-04 16:49:47 -0500 |
commit | 6891a346c387bd0a64afa50f4522f5fe8ba879d8 (patch) | |
tree | 04f02aa5ea701d01baecb4ff34064d075ffe4d7a /include/net/netns/ipv6.h | |
parent | f2fc6a54585a1be6669613a31fbaba2ecbadcd36 (diff) |
[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>
Diffstat (limited to 'include/net/netns/ipv6.h')
-rw-r--r-- | include/net/netns/ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index 53b5a283a4b3..90e6e24df858 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h | |||
@@ -42,6 +42,8 @@ struct netns_ipv6 { | |||
42 | struct hlist_head *fib_table_hash; | 42 | struct hlist_head *fib_table_hash; |
43 | struct fib6_table *fib6_main_tbl; | 43 | struct fib6_table *fib6_main_tbl; |
44 | struct dst_ops *ip6_dst_ops; | 44 | struct dst_ops *ip6_dst_ops; |
45 | unsigned int ip6_rt_gc_expire; | ||
46 | unsigned long ip6_rt_last_gc; | ||
45 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES | 47 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES |
46 | struct rt6_info *ip6_prohibit_entry; | 48 | struct rt6_info *ip6_prohibit_entry; |
47 | struct rt6_info *ip6_blk_hole_entry; | 49 | struct rt6_info *ip6_blk_hole_entry; |