Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78651
b: refs/heads/master
c: 3ccd313
h: refs/heads/master
i:
  78649: 0a00aea
  78647: c04517e
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Jan 28, 2008
1 parent a86e044 commit 2729ab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 61f1ab41b8ede8e2a26c349a4e3372100545c5ec
refs/heads/master: 3ccd3130b3f681a4aef6392327256786b3b6aa04
5 changes: 1 addition & 4 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -2504,11 +2504,8 @@ tcp_fastretrans_alert(struct sock *sk, int pkts_acked, int flag)
(tcp_fackets_out(tp) > tp->reordering));
int fast_rexmit = 0;

/* Some technical things:
* 1. Reno does not count dupacks (sacked_out) automatically. */
if (!tp->packets_out)
if (WARN_ON(!tp->packets_out && tp->sacked_out))
tp->sacked_out = 0;

if (WARN_ON(!tp->sacked_out && tp->fackets_out))
tp->fackets_out = 0;

Expand Down

0 comments on commit 2729ab9

Please sign in to comment.