]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Do not underestimate rwnd_limited
authorEric Dumazet <edumazet@google.com>
Wed, 5 Dec 2018 22:24:31 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Dec 2018 00:31:59 +0000 (16:31 -0800)
commitb2d5ba5aed0c569eee511ce8336ce48b82dbaafa
tree3f09b74ec1221e468e4036cb13c0cdc038ce970b
parent8d3622f56d189598653a40fb396b23ff7f5eaa7a
tcp: Do not underestimate rwnd_limited

If available rwnd is too small, tcp_tso_should_defer()
can decide it is worth waiting before splitting a TSO packet.

This really means we are rwnd limited.

Fixes: 222182913188 ("tcp: instrument how long TCP is limited by receive window")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c