aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-02-29 14:19:58 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-29 14:19:58 -0500
commit4a6ad7a141cbee2cf074e6cf8dc527b231b69ece (patch)
treef4edbb78969f6109874ea38d92464aa79cc74d3d /include/net
parent5c8cafd65e1448b1d55cad3fb1e42ad42607e5be (diff)
[NETNS]: Make icmp_sk per namespace.
All preparations are done. Now just add a hook to perform an initialization on namespace startup and replace icmp_sk macro with proper inline call. 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')
-rw-r--r--include/net/netns/ipv4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index a9b4f6086294..504fde174525 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -26,6 +26,8 @@ struct netns_ipv4 {
26 struct hlist_head *fib_table_hash; 26 struct hlist_head *fib_table_hash;
27 struct sock *fibnl; 27 struct sock *fibnl;
28 28
29 struct sock **icmp_sk;
30
29 struct netns_frags frags; 31 struct netns_frags frags;
30#ifdef CONFIG_NETFILTER 32#ifdef CONFIG_NETFILTER
31 struct xt_table *iptable_filter; 33 struct xt_table *iptable_filter;