[PATCHv2] net/tls: avoid TCP window full during ->read_sock()
Sagi Grimberg
sagi at grimberg.me
Mon Aug 7 01:54:50 PDT 2023
> 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 at kernel.org>
> Signed-off-by: Hannes Reinecke <hare at suse.de>
This looks fine to me,
Reviewed-by: Sagi Grimberg <sagi at grimberg.me>
More information about the Linux-nvme
mailing list