aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2007-09-26 05:47:31 +0000
committerDavid S. Miller <[email protected]>2007-10-10 23:52:39 +0000
commit912d8f0b1f17b7e851ebbfeb17a16de9f9c7cb88 (patch)
tree176cf4f23aaae9790d947579473da1f8d349a942 /net/ipv4/tcp_input.c
parent[TCP]: Reordered ACK's (old) SACKs not included to discarded MIB (diff)
downloadkernel-912d8f0b1f17b7e851ebbfeb17a16de9f9c7cb88.tar.gz
kernel-912d8f0b1f17b7e851ebbfeb17a16de9f9c7cb88.zip
[TCP] MIB: Count FRTO's successfully detected spurious RTOs
Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 4866e75e98e0..4b27739031fb 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2935,6 +2935,7 @@ static int tcp_process_frto(struct sock *sk, int flag)
}
tp->frto_counter = 0;
tp->undo_marker = 0;
+ NET_INC_STATS_BH(LINUX_MIB_TCPSPURIOUSRTOS);
}
return 0;
}