Linux kernel -stable discussions
 help / color / mirror / Atom feed
* tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
@ 2023-10-13  9:02 craig
  2023-10-14 16:38 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: craig @ 2023-10-13  9:02 UTC (permalink / raw)
  To: stable@vger.kernel.org

Hi,

I hope I'm doing this correctly, as per https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html, Option 2. :)

Subject of the patch: tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
Full details including reproducers, impact, tests are available here: https://blog.cloudflare.com/unbounded-memory-usage-by-tcp-for-receive-buffers-and-how-we-fixed-it/

commit ID: b650d953cd391595e536153ce30b4aab385643ac

Why I think it should be applied:
- linux TCP sessions are allocating more memory than they should
- the kernel drops incoming packets which it should not drop
- large amounts of memory can be saved (see https://blog.cloudflare.com/unbounded-memory-usage-by-tcp-for-receive-buffers-and-how-we-fixed-it/#memory)

What kernel versions you wish it to be applied to: 6.1.x (stable).
Thank you! :)

- craig

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
  2023-10-13  9:02 tcp: enforce receive buffer memory limits by allowing the tcp window to shrink craig
@ 2023-10-14 16:38 ` Sasha Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2023-10-14 16:38 UTC (permalink / raw)
  To: craig; +Cc: stable@vger.kernel.org

On Fri, Oct 13, 2023 at 09:02:54AM +0000, craig wrote:
>Hi,
>
>I hope I'm doing this correctly, as per https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html, Option 2. :)
>
>Subject of the patch: tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
>Full details including reproducers, impact, tests are available here: https://blog.cloudflare.com/unbounded-memory-usage-by-tcp-for-receive-buffers-and-how-we-fixed-it/
>
>commit ID: b650d953cd391595e536153ce30b4aab385643ac
>
>Why I think it should be applied:
>- linux TCP sessions are allocating more memory than they should
>- the kernel drops incoming packets which it should not drop
>- large amounts of memory can be saved (see https://blog.cloudflare.com/unbounded-memory-usage-by-tcp-for-receive-buffers-and-how-we-fixed-it/#memory)
>
>What kernel versions you wish it to be applied to: 6.1.x (stable).
>Thank you! :)

Queued up, thanks.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-14 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13  9:02 tcp: enforce receive buffer memory limits by allowing the tcp window to shrink craig
2023-10-14 16:38 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox