summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorMenglong Dong <imagedong@tencent.com>2023-08-11 10:55:27 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-13 12:21:37 +0100
commite2142825c120d4317abf7160a0fc34b3de532586 (patch)
tree0689682aa43833ae1414c7b94557034b61ad2f48 /rust
parent3e6860ec3a2252249e310b0e6e88e2258171b3d0 (diff)
downloadlinux-stable-e2142825c120d4317abf7160a0fc34b3de532586.tar.gz
linux-stable-e2142825c120d4317abf7160a0fc34b3de532586.tar.bz2
linux-stable-e2142825c120d4317abf7160a0fc34b3de532586.zip
net: tcp: send zero-window ACK when no memory
For now, skb will be dropped when no memory, which makes client keep retrans util timeout and it's not friendly to the users. In this patch, we reply an ACK with zero-window in this case to update the snd_wnd of the sender to 0. Therefore, the sender won't timeout the connection and will probe the zero-window with the retransmits. Signed-off-by: Menglong Dong <imagedong@tencent.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions