mirror of https://github.com/OpenIPC/firmware.git
19 lines
678 B
Diff
19 lines
678 B
Diff
diff -drupN a/net/dccp/ipv4.c b/net/dccp/ipv4.c
|
|
--- a/net/dccp/ipv4.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/net/dccp/ipv4.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -594,13 +594,7 @@ int dccp_v4_conn_request(struct sock *sk
|
|
if (inet_csk_reqsk_queue_is_full(sk))
|
|
goto drop;
|
|
|
|
- /*
|
|
- * Accept backlog is full. If we have already queued enough
|
|
- * of warm entries in syn queue, drop request. It is better than
|
|
- * clogging syn queue with openreqs with exponentially increasing
|
|
- * timeout.
|
|
- */
|
|
- if (sk_acceptq_is_full(sk) && inet_csk_reqsk_queue_young(sk) > 1)
|
|
+ if (sk_acceptq_is_full(sk))
|
|
goto drop;
|
|
|
|
req = inet_reqsk_alloc(&dccp_request_sock_ops, sk, true);
|