Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c5e7af0df5d7234afd8596560d9f570cfc6c18bf
Commit:     c5e7af0df5d7234afd8596560d9f570cfc6c18bf
Parent:     e0ef57cc56c3c96493f9b0d6c77bb9608eeaa173
Author:     Ilpo Järvinen <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 23 16:22:06 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Apr 25 22:23:22 2007 -0700

    [TCP]: Correct reordering detection change (no FRTO case)
    
    The reordering detection must work also when FRTO has not been
    used at all which was the original intention of mine, just the
    expression of the idea was flawed.
    
    Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv4/tcp_input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index bb3f234..f6ba07f 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1240,7 +1240,7 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff 
*ack_skb, u32 prior_snd_
        tp->left_out = tp->sacked_out + tp->lost_out;
 
        if ((reord < tp->fackets_out) && icsk->icsk_ca_state != TCP_CA_Loss &&
-           (tp->frto_highmark && after(tp->snd_una, tp->frto_highmark)))
+           (!tp->frto_highmark || after(tp->snd_una, tp->frto_highmark)))
                tcp_update_reordering(sk, ((tp->fackets_out + 1) - reord), 0);
 
 #if FASTRETRANS_DEBUG > 0
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to