Files
linux/net/ipv4
Eric Dumazet a6f81fcb2c tcp: avoid integer overflows in tcp_rcv_space_adjust()
commit 607065bad9 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 <soheil@google.com>
Acked-by: Wei Wang <weiwan@google.com>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-05 11:41:58 +02:00
..
2018-04-12 12:32:22 +02:00
2017-10-21 01:33:19 +01:00
2017-10-12 22:57:11 -07:00
2017-10-21 01:33:19 +01:00
2018-05-19 10:20:25 +02:00
2018-05-19 10:20:27 +02:00
2013-05-31 17:19:05 -07:00