aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index 7137e6420d66..f691058cf599 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -202,7 +202,7 @@ int inet_listen(struct socket *sock, int backlog)
202 * we can only allow the backlog to be adjusted. 202 * we can only allow the backlog to be adjusted.
203 */ 203 */
204 if (old_state != TCP_LISTEN) { 204 if (old_state != TCP_LISTEN) {
205 err = tcp_listen_start(sk); 205 err = inet_csk_listen_start(sk, TCP_SYNQ_HSIZE);
206 if (err) 206 if (err)
207 goto out; 207 goto out;
208 } 208 }