tcp: revert F-RTO extension to detect more spurious timeouts
authorYuchung Cheng <ycheng@google.com>
Tue, 27 Feb 2018 22:15:02 +0000 (14:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 16:37:50 +0000 (11:37 -0500)
commitfc68e171d376c322e6777a3d7ac2f0278b68b17f
tree00bfcbae302e5015f89f4e31938bb297f18dc970
parentd4131f09770d9b7471c9da65e6ecd2477746ac5c
tcp: revert F-RTO extension to detect more spurious timeouts

This reverts commit 89fe18e44f7ee5ab1c90d0dff5835acee7751427.

While the patch could detect more spurious timeouts, it could cause
poor TCP performance on broken middle-boxes that modifies TCP packets
(e.g. receive window, SACK options). Since the performance gain is
much smaller compared to the potential loss. The best solution is
to fully revert the change.

Fixes: 89fe18e44f7e ("tcp: extend F-RTO to catch more spurious timeouts")
Reported-by: Teodor Milkov <tm@del.bg>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c