aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 5def3c48870e..5dfbc333e79a 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -6502,8 +6502,7 @@ int tcp_conn_request(struct request_sock_ops *rsk_ops,
6502 reqsk_fastopen_remove(fastopen_sk, req, false); 6502 reqsk_fastopen_remove(fastopen_sk, req, false);
6503 bh_unlock_sock(fastopen_sk); 6503 bh_unlock_sock(fastopen_sk);
6504 sock_put(fastopen_sk); 6504 sock_put(fastopen_sk);
6505 reqsk_put(req); 6505 goto drop_and_free;
6506 goto drop;
6507 } 6506 }
6508 sk->sk_data_ready(sk); 6507 sk->sk_data_ready(sk);
6509 bh_unlock_sock(fastopen_sk); 6508 bh_unlock_sock(fastopen_sk);
@@ -6527,7 +6526,7 @@ int tcp_conn_request(struct request_sock_ops *rsk_ops,
6527drop_and_release: 6526drop_and_release:
6528 dst_release(dst); 6527 dst_release(dst);
6529drop_and_free: 6528drop_and_free:
6530 reqsk_free(req); 6529 __reqsk_free(req);
6531drop: 6530drop:
6532 tcp_listendrop(sk); 6531 tcp_listendrop(sk);
6533 return 0; 6532 return 0;