aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-11-11 06:41:30 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-11 13:54:53 -0800
commitf1c6ea3827b5e5ec62e297bcf4ccfd065326e8f7 (patch)
tree69036d0cdbfb568233a8838bc1ff9f9b29ab624b /include
parenttcp: do not try to defer skbs with eor mark (MSG_EOR) (diff)
downloadlinux-dev-f1c6ea3827b5e5ec62e297bcf4ccfd065326e8f7.tar.xz
linux-dev-f1c6ea3827b5e5ec62e297bcf4ccfd065326e8f7.zip
tcp: refine tcp_tso_should_defer() after EDT adoption
tcp_tso_should_defer() last step tries to check if the probable next ACK packet is coming in less than half rtt. Problem is that the head->tstamp might be in the future, so we need to use signed arithmetics to avoid overflows. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions