]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: mandate a one-time immediate ACK
authorYuchung Cheng <ycheng@google.com>
Thu, 9 Aug 2018 16:38:09 +0000 (09:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 18:31:35 +0000 (11:31 -0700)
commit26fc889bc718170f1567d2226bdb421896ffd580
treee3c233a4a6ce5a2f77bad3365ea9bbaf739b3f36
parent563547c65460d4b76aa7b967e1825031af5dbd7e
tcp: mandate a one-time immediate ACK

Add a new flag to indicate a one-time immediate ACK. This flag is
occasionaly set under specific TCP protocol states in addition to
the more common quickack mechanism for interactive application.

In several cases in the TCP code we want to force an immediate ACK
but do not want to call tcp_enter_quickack_mode() because we do
not want to forget the icsk_ack.pingpong or icsk_ack.ato state.

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>
include/net/inet_connection_sock.h
net/ipv4/tcp_input.c