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

Re: [PATCHv2] net/tls: avoid TCP window full during ->read_sock()

From: Sagi Grimberg <sagi@grimberg.me>
Date: 2023-08-07 08:55:04
Also in: linux-nvme

When flushing the backlog after decoding a record we don't really
know how much data the caller want us to evaluate, so use INT_MAX
and 0 as arguments to tls_read_flush_backlog() to ensure we flush
at 128k of data. Otherwise we might be reading too much data and
trigger a TCP window full.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
This looks fine to me,

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help