[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>
This commit is contained in:
committed by
David S. Miller
parent
4f049b4f33
commit
3d58b5fa8e
@ -1185,8 +1185,8 @@ static int __init dccp_v6_init(void)
|
||||
|
||||
inet6_register_protosw(&dccp_v6_protosw);
|
||||
|
||||
err = inet_csk_ctl_sock_create(&socket, PF_INET6,
|
||||
SOCK_DCCP, IPPROTO_DCCP);
|
||||
err = inet_ctl_sock_create(&socket, PF_INET6,
|
||||
SOCK_DCCP, IPPROTO_DCCP);
|
||||
if (err != 0)
|
||||
goto out_unregister_protosw;
|
||||
dccp_v6_ctl_sk = socket->sk;
|
||||
|
Reference in New Issue
Block a user