summaryrefslogtreecommitdiff
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-03 14:22:32 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-03 14:22:32 -0700
commit3d58b5fa8e4c461ab09afdacd3d1754fccca06ad (patch)
treeb5793c1cc2f0d41657c5e5d101cc00e07c515a60 /net/dccp/ipv4.c
parent4f049b4f33d07bd11335c3a074ebef14213a3e37 (diff)
downloadlinux-3.10-3d58b5fa8e4c461ab09afdacd3d1754fccca06ad.tar.gz
linux-3.10-3d58b5fa8e4c461ab09afdacd3d1754fccca06ad.tar.bz2
linux-3.10-3d58b5fa8e4c461ab09afdacd3d1754fccca06ad.zip
[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/ipv4.c')
-rw-r--r--net/dccp/ipv4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 6d8f684a7a4..feb3fa5b714 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -1003,8 +1003,8 @@ static int __init dccp_v4_init(void)
inet_register_protosw(&dccp_v4_protosw);
- err = inet_csk_ctl_sock_create(&socket, PF_INET,
- SOCK_DCCP, IPPROTO_DCCP);
+ err = inet_ctl_sock_create(&socket, PF_INET,
+ SOCK_DCCP, IPPROTO_DCCP);
if (err)
goto out_unregister_protosw;
dccp_v4_ctl_sk = socket->sk;