aboutsummaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-02-29 11:21:22 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-29 11:21:22 -0800
commit98c6d1b261e74750e6c56ede26dc295201c4a8b2 (patch)
treee37818f4023b542a3c702d3fca11fc73f994737a /include/net/netns
parent4a6ad7a141cbee2cf074e6cf8dc527b231b69ece (diff)
[NETNS]: Make icmpv6_sk per namespace.
All preparations are done. Now just add a hook to perform an initialization on namespace startup and replace icmpv6_sk macro with proper inline call. Actual namespace the packet belongs too will be passed later along with the one for the routing. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h
index 1dd7de4e419..82623d3a8e3 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -36,5 +36,6 @@ struct netns_ipv6 {
struct xt_table *ip6table_mangle;
struct xt_table *ip6table_raw;
#endif
+ struct sock **icmp_sk;
};
#endif