aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-11-01 03:10:18 -0400
committerDavid S. Miller <davem@davemloft.net>2007-11-01 03:10:18 -0400
commit261ab365fadd53ddc1b292b1663800e11fbf3e71 (patch)
tree18224fa6f7c36155837e7afcf958b10eb3f05273
parente56d6cd6057aac1c6ed8e1590acd62b46e06201d (diff)
[TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion
Similar to commit 3eec0047d9bdd, point of this is to avoid skipping R-bit skbs. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 4d72781a49be..ca9590f4f520 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2078,7 +2078,7 @@ static void tcp_update_scoreboard(struct sock *sk)
2078 if (!tcp_skb_timedout(sk, skb)) 2078 if (!tcp_skb_timedout(sk, skb))
2079 break; 2079 break;
2080 2080
2081 if (!(TCP_SKB_CB(skb)->sacked&TCPCB_TAGBITS)) { 2081 if (!(TCP_SKB_CB(skb)->sacked & (TCPCB_SACKED_ACKED|TCPCB_LOST))) {
2082 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; 2082 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST;
2083 tp->lost_out += tcp_skb_pcount(skb); 2083 tp->lost_out += tcp_skb_pcount(skb);
2084 tcp_verify_retransmit_hint(tp, skb); 2084 tcp_verify_retransmit_hint(tp, skb);