diff options
Diffstat (limited to 'net/dccp')
-rw-r--r-- | net/dccp/ipv4.c | 4 | ||||
-rw-r--r-- | net/dccp/ipv6.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 6d8f684a7a49..feb3fa5b7141 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -1003,8 +1003,8 @@ static int __init dccp_v4_init(void) | |||
1003 | 1003 | ||
1004 | inet_register_protosw(&dccp_v4_protosw); | 1004 | inet_register_protosw(&dccp_v4_protosw); |
1005 | 1005 | ||
1006 | err = inet_csk_ctl_sock_create(&socket, PF_INET, | 1006 | err = inet_ctl_sock_create(&socket, PF_INET, |
1007 | SOCK_DCCP, IPPROTO_DCCP); | 1007 | SOCK_DCCP, IPPROTO_DCCP); |
1008 | if (err) | 1008 | if (err) |
1009 | goto out_unregister_protosw; | 1009 | goto out_unregister_protosw; |
1010 | dccp_v4_ctl_sk = socket->sk; | 1010 | dccp_v4_ctl_sk = socket->sk; |
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; |