aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r--net/dccp/proto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index 72cbdcfc2c65..047d170a363a 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -262,12 +262,12 @@ int dccp_destroy_sock(struct sock *sk)
262 262
263EXPORT_SYMBOL_GPL(dccp_destroy_sock); 263EXPORT_SYMBOL_GPL(dccp_destroy_sock);
264 264
265static inline int dccp_listen_start(struct sock *sk) 265static inline int dccp_listen_start(struct sock *sk, int backlog)
266{ 266{
267 struct dccp_sock *dp = dccp_sk(sk); 267 struct dccp_sock *dp = dccp_sk(sk);
268 268
269 dp->dccps_role = DCCP_ROLE_LISTEN; 269 dp->dccps_role = DCCP_ROLE_LISTEN;
270 return inet_csk_listen_start(sk, TCP_SYNQ_HSIZE); 270 return inet_csk_listen_start(sk, backlog);
271} 271}
272 272
273int dccp_disconnect(struct sock *sk, int flags) 273int dccp_disconnect(struct sock *sk, int flags)
@@ -788,7 +788,7 @@ int inet_dccp_listen(struct socket *sock, int backlog)
788 * FIXME: here it probably should be sk->sk_prot->listen_start 788 * FIXME: here it probably should be sk->sk_prot->listen_start
789 * see tcp_listen_start 789 * see tcp_listen_start
790 */ 790 */
791 err = dccp_listen_start(sk); 791 err = dccp_listen_start(sk, backlog);
792 if (err) 792 if (err)
793 goto out; 793 goto out;
794 } 794 }