summaryrefslogtreecommitdiffstats
path: root/include/net/netns/ipv6.h
diff options
context:
space:
mode:
authorDenis V. Lunev2008-02-29 20:21:22 +0100
committerDavid S. Miller2008-02-29 20:21:22 +0100
commit98c6d1b261e74750e6c56ede26dc295201c4a8b2 (patch)
treee37818f4023b542a3c702d3fca11fc73f994737a /include/net/netns/ipv6.h
parent[NETNS]: Make icmp_sk per namespace. (diff)
downloadkernel-qcow2-linux-98c6d1b261e74750e6c56ede26dc295201c4a8b2.tar.gz
kernel-qcow2-linux-98c6d1b261e74750e6c56ede26dc295201c4a8b2.tar.xz
kernel-qcow2-linux-98c6d1b261e74750e6c56ede26dc295201c4a8b2.zip
[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/ipv6.h')
-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 1dd7de4e4195..82623d3a8e35 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