Thread (2 messages) 2 messages, 2 authors, 2018-06-02

Re: [PATCH v4.4.y..v4.14.y] tcp: avoid integer overflows in tcp_rcv_space_adjust()

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2018-06-02 13:13:01

On Wed, May 30, 2018 at 01:36:05PM -0700, Guenter Roeck wrote:
From: Eric Dumazet <edumazet@google.com>

commit 607065bad9931e72207b0cac365d7d4abc06bd99 upstream.

When using large tcp_rmem[2] values (I did tests with 500 MB),
I noticed overflows while computing rcvwin.

Lets fix this before the following patch.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <redacted>
Acked-by: Wei Wang <redacted>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[Backport: sysctl_tcp_rmem is not Namespace-ify'd in older kernels]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Applies cleanly to v4.4.y and v4.9.y; v4.14.y needs "git am -3".
Now queued up, thanks.

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help