diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 11:19:58 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 11:19:58 -0800 |
commit | 4a6ad7a141cbee2cf074e6cf8dc527b231b69ece (patch) | |
tree | f4edbb78969f6109874ea38d92464aa79cc74d3d /include | |
parent | 5c8cafd65e1448b1d55cad3fb1e42ad42607e5be (diff) | |
download | op-kernel-dev-4a6ad7a141cbee2cf074e6cf8dc527b231b69ece.zip op-kernel-dev-4a6ad7a141cbee2cf074e6cf8dc527b231b69ece.tar.gz |
[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')
-rw-r--r-- | include/net/netns/ipv4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index a9b4f60..504fde1 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -26,6 +26,8 @@ struct netns_ipv4 { struct hlist_head *fib_table_hash; struct sock *fibnl; + struct sock **icmp_sk; + struct netns_frags frags; #ifdef CONFIG_NETFILTER struct xt_table *iptable_filter; |