Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90198
b: refs/heads/master
c: 539fae8
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McManus authored and David S. Miller committed Mar 21, 2008
1 parent a97c4be commit 609e32f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4cd9029d25f6612302f82634620f107c65f790b1
refs/heads/master: 539fae89bebd16ebeafd57a87169bc56eb530d76
3 changes: 1 addition & 2 deletions trunk/net/ipv4/inet_connection_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,7 @@ void inet_csk_reqsk_queue_prune(struct sock *parent,
reqp=&lopt->syn_table[i];
while ((req = *reqp) != NULL) {
if (time_after_eq(now, req->expires)) {
if ((req->retrans < thresh ||
(inet_rsk(req)->acked && req->retrans < max_retries))
if ((req->retrans < (inet_rsk(req)->acked ? max_retries : thresh))
&& !req->rsk_ops->rtx_syn_ack(parent, req)) {
unsigned long timeo;

Expand Down

0 comments on commit 609e32f

Please sign in to comment.