aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-12-01 17:47:56 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:55:39 -0500
commitbce392f3b02755a8c615d4ced3d3b9cb1d9e3648 (patch)
tree847467eb61e6153e40e3db9bc0a0a4f079da428c /net/ipv4/tcp_input.c
parent1dab62226dd9e0c0051229e7868363663546c772 (diff)
[TCP]: Move LOSTRETRANS MIB outside !(L|S) check
Usually those skbs will have L set, not counting them as lost retransmissions is misleading. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-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 33d284e3f7f..6ca77f8bcee 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1160,8 +1160,8 @@ static int tcp_mark_lost_retrans(struct sock *sk)
1160 tp->lost_out += tcp_skb_pcount(skb); 1160 tp->lost_out += tcp_skb_pcount(skb);
1161 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST; 1161 TCP_SKB_CB(skb)->sacked |= TCPCB_LOST;
1162 flag |= FLAG_DATA_SACKED; 1162 flag |= FLAG_DATA_SACKED;
1163 NET_INC_STATS_BH(LINUX_MIB_TCPLOSTRETRANSMIT);
1164 } 1163 }
1164 NET_INC_STATS_BH(LINUX_MIB_TCPLOSTRETRANSMIT);
1165 } else { 1165 } else {
1166 if (before(ack_seq, new_low_seq)) 1166 if (before(ack_seq, new_low_seq))
1167 new_low_seq = ack_seq; 1167 new_low_seq = ack_seq;