diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-19 03:37:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-19 03:37:31 -0400 |
commit | d819c49da624e3ee09b2844603d58265039eecdd (patch) | |
tree | 09a503b98769767d81337ec8e5c14c60874a4e77 /net/ipv4/inet_connection_sock.c | |
parent | f18f982abf183e91f435990d337164c7a43d1e6d (diff) | |
parent | 9bedbcb207ed9a571b239231d99c8fd4a34ae24d (diff) |
Merge branch 'linus' into sched/urgent
Diffstat (limited to 'net/ipv4/inet_connection_sock.c')
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index 045e799d3e1d..ec834480abe7 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c | |||
@@ -466,9 +466,9 @@ void inet_csk_reqsk_queue_prune(struct sock *parent, | |||
466 | reqp=&lopt->syn_table[i]; | 466 | reqp=&lopt->syn_table[i]; |
467 | while ((req = *reqp) != NULL) { | 467 | while ((req = *reqp) != NULL) { |
468 | if (time_after_eq(now, req->expires)) { | 468 | if (time_after_eq(now, req->expires)) { |
469 | if ((req->retrans < (inet_rsk(req)->acked ? max_retries : thresh)) && | 469 | if ((req->retrans < thresh || |
470 | (inet_rsk(req)->acked || | 470 | (inet_rsk(req)->acked && req->retrans < max_retries)) |
471 | !req->rsk_ops->rtx_syn_ack(parent, req))) { | 471 | && !req->rsk_ops->rtx_syn_ack(parent, req)) { |
472 | unsigned long timeo; | 472 | unsigned long timeo; |
473 | 473 | ||
474 | if (req->retrans++ == 0) | 474 | if (req->retrans++ == 0) |