diff options
Diffstat (limited to 'net/dccp/timer.c')
-rw-r--r-- | net/dccp/timer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/dccp/timer.c b/net/dccp/timer.c index 8c396ee01aac..9f1f1ab9e2b4 100644 --- a/net/dccp/timer.c +++ b/net/dccp/timer.c | |||
@@ -220,11 +220,7 @@ out: | |||
220 | */ | 220 | */ |
221 | static void dccp_response_timer(struct sock *sk) | 221 | static void dccp_response_timer(struct sock *sk) |
222 | { | 222 | { |
223 | struct inet_connection_sock *icsk = inet_csk(sk); | 223 | inet_csk_reqsk_queue_prune(sk, TCP_SYNQ_INTERVAL, DCCP_TIMEOUT_INIT, DCCP_RTO_MAX); |
224 | const int max_retries = icsk->icsk_syn_retries ? : TCP_SYNACK_RETRIES /* FIXME sysctl_tcp_synack_retries */; | ||
225 | |||
226 | reqsk_queue_prune(&icsk->icsk_accept_queue, sk, TCP_SYNQ_INTERVAL, | ||
227 | DCCP_TIMEOUT_INIT, DCCP_RTO_MAX, max_retries); | ||
228 | } | 224 | } |
229 | 225 | ||
230 | static void dccp_keepalive_timer(unsigned long data) | 226 | static void dccp_keepalive_timer(unsigned long data) |