projects
/
wrapfs-3.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765157b
)
Revert "TCP: Fix TCP handling of SACK in bidirectional flows"
author
Adrian Bunk
<bunk@kernel.org>
Fri, 12 Oct 2007 21:03:25 +0000
(23:03 +0200)
committer
Adrian Bunk
<bunk@kernel.org>
Fri, 12 Oct 2007 21:03:25 +0000
(23:03 +0200)
This reverts commit
3198d0f16dec0c87071cf26f3f11af9c8f0a009b
.
net/ipv4/tcp_input.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index cdeca2d5c115c09d1f74cf1915ee08af7a4c936e..412e3d214d7cec1974582a83dffe50fbd791433e 100644
(file)
--- a/
net/ipv4/tcp_input.c
+++ b/
net/ipv4/tcp_input.c
@@
-1909,10
+1909,7
@@
tcp_fastretrans_alert(struct sock *sk, u32 prior_snd_una,
{
struct inet_connection_sock *icsk = inet_csk(sk);
struct tcp_sock *tp = tcp_sk(sk);
- int is_dupack = (tp->snd_una == prior_snd_una &&
- (!(flag&FLAG_NOT_DUP) ||
- ((flag&FLAG_DATA_SACKED) &&
- (tp->fackets_out > tp->reordering))));
+ int is_dupack = (tp->snd_una == prior_snd_una && !(flag&FLAG_NOT_DUP));
/* Some technical things:
* 1. Reno does not count dupacks (sacked_out) automatically. */