Commit:     3eec0047d9bdd68fddef6539e77fee99ba2531f2
Parent:     16e906812f885cf16d95577dba260db6375ba571
Author:     Ilpo Järvinen <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 11 17:33:11 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Oct 11 17:33:11 2007 -0700

    [TCP]: Fix mark_head_lost to ignore R-bit when trying to mark L
    This condition (plain R) can arise at least in recovery that
    is triggered after tcp_undo_loss. There isn't any reason why
    they should not be marked as lost, not marking makes in_flight
    estimator to return too large values.
    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 e40857e..c827285 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1987,7 +1987,7 @@ static void tcp_mark_head_lost(struct sock *sk,
                cnt += tcp_skb_pcount(skb);
                if (cnt > packets || after(TCP_SKB_CB(skb)->end_seq, high_seq))
-               if (!(TCP_SKB_CB(skb)->sacked&TCPCB_TAGBITS)) {
+               if (!(TCP_SKB_CB(skb)->sacked & 
                        TCP_SKB_CB(skb)->sacked |= TCPCB_LOST;
                        tp->lost_out += tcp_skb_pcount(skb);
                        tcp_verify_retransmit_hint(tp, skb);
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

Reply via email to