tcp: avoid resetting ACK timer in DCTCP
authorYuchung Cheng <ycheng@google.com>
Thu, 9 Aug 2018 16:38:10 +0000 (09:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 18:31:35 +0000 (11:31 -0700)
commitd2ccd7bc8acdcb9166c07a0255fb85bf877edb1f
treecb94c8117483eb31f92dbe694ca63afe3a847e76
parent466466dc6c28ca9dc401f10e235b9cde9a7c9162
tcp: avoid resetting ACK timer in DCTCP

The recent fix of acking immediately in DCTCP on CE status change
has an undesirable side-effect: it also resets TCP ack timer and
disables pingpong mode (interactive session). But the CE status
change has nothing to do with them. This patch addresses that by
using the new one-time immediate ACK flag instead of calling
tcp_enter_quickack_mode().

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_dctcp.c