summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPavel Emelyanov2008-04-14 07:29:37 +0200
committerDavid S. Miller2008-04-14 07:29:37 +0200
commit7b1cffa8c90269dc3dc721d084d1e0d742d87c31 (patch)
tree790914a5574a2cf33a7ee3672629bf0a31f77b71 /include/net
parent[NETNS][DCCPV4]: Add dummy per-net operations. (diff)
downloadkernel-qcow2-linux-7b1cffa8c90269dc3dc721d084d1e0d742d87c31.tar.gz
kernel-qcow2-linux-7b1cffa8c90269dc3dc721d084d1e0d742d87c31.tar.xz
kernel-qcow2-linux-7b1cffa8c90269dc3dc721d084d1e0d742d87c31.zip
[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')
-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 056e6adc70b6..e4f16faa898a 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