aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-13 22:29:37 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-13 22:29:37 -0700
commit7b1cffa8c90269dc3dc721d084d1e0d742d87c31 (patch)
tree790914a5574a2cf33a7ee3672629bf0a31f77b71 /include/net/netns
parent72a2d6138224298a576bcdc33d7d0004de604856 (diff)
downloadkernel_samsung_smdk4412-7b1cffa8c90269dc3dc721d084d1e0d742d87c31.zip
kernel_samsung_smdk4412-7b1cffa8c90269dc3dc721d084d1e0d742d87c31.tar.gz
kernel_samsung_smdk4412-7b1cffa8c90269dc3dc721d084d1e0d742d87c31.tar.bz2
[NETNS][DCCPV4]: Move the dccp_v4_ctl_sk on the struct net.
And replace all its usage with init_net's socket. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/dccp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/dccp.h b/include/net/netns/dccp.h
index 056e6ad..e4f16fa 100644
--- a/include/net/netns/dccp.h
+++ b/include/net/netns/dccp.h
@@ -1,7 +1,10 @@
#ifndef __NETNS_DCCP_H__
#define __NETNS_DCCP_H__
+struct sock;
+
struct netns_dccp {
+ struct sock *v4_ctl_sk;
};
#endif