Thread (11 messages) 11 messages, 3 authors, 2023-08-13

Re: [PATCH net-next v4 1/4] net: tcp: send zero-window ACK when no memory

From: Eric Dumazet <edumazet@google.com>
Date: 2023-08-11 07:37:54
Also in: lkml

On Fri, Aug 11, 2023 at 5:01 AM [off-list ref] wrote:
From: Menglong Dong <redacted>

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 <redacted>
---
Reviewed-by: Eric Dumazet <edumazet@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help