aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-03 17:22:32 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-03 17:22:32 -0400
commit3d58b5fa8e4c461ab09afdacd3d1754fccca06ad (patch)
treeb5793c1cc2f0d41657c5e5d101cc00e07c515a60 /net/dccp/ipv6.c
parent4f049b4f33d07bd11335c3a074ebef14213a3e37 (diff)
[INET]: Rename inet_csk_ctl_sock_create to inet_ctl_sock_create.
This call is nothing common with INET connection sockets code. It simply creates an unhashes kernel sockets for protocol messages. Move the new call into af_inet.c after the rename. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r--net/dccp/ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index c5d9d1be56f3..5690fbd3bf68 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -1185,8 +1185,8 @@ static int __init dccp_v6_init(void)
1185 1185
1186 inet6_register_protosw(&dccp_v6_protosw); 1186 inet6_register_protosw(&dccp_v6_protosw);
1187 1187
1188 err = inet_csk_ctl_sock_create(&socket, PF_INET6, 1188 err = inet_ctl_sock_create(&socket, PF_INET6,
1189 SOCK_DCCP, IPPROTO_DCCP); 1189 SOCK_DCCP, IPPROTO_DCCP);
1190 if (err != 0) 1190 if (err != 0)
1191 goto out_unregister_protosw; 1191 goto out_unregister_protosw;
1192 dccp_v6_ctl_sk = socket->sk; 1192 dccp_v6_ctl_sk = socket->sk;