Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=af15cc7b858c7653443ab64db2e41b69506450ee
Commit:     af15cc7b858c7653443ab64db2e41b69506450ee
Parent:     3d7dbeac58d0669c37e35a3b91bb41c0146395ce
Author:     Ilpo Järvinen <[EMAIL PROTECTED]>
AuthorDate: Tue Jun 12 16:16:44 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jun 12 16:16:44 2007 -0700

    [TCP]: Fix left_out setting during FRTO
    
    Without FRTO, the tcp_try_to_open is never called with
    lost_out > 0 (see tcp_time_to_recover). However, when FRTO is
    enabled, the !tp->lost condition is not used until end of FRTO
    because that way TCP avoids premature entry to fast recovery
    during FRTO.
    
    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 74683d8..ed4a1bd 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2037,7 +2037,7 @@ static void tcp_try_to_open(struct sock *sk, int flag)
 {
        struct tcp_sock *tp = tcp_sk(sk);
 
-       tp->left_out = tp->sacked_out;
+       tcp_sync_left_out(tp);
 
        if (tp->retrans_out == 0)
                tp->retrans_stamp = 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