Files
linux/net/ipv4
Eric Dumazet 70741861fc 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-06 16:46:21 +02:00
..
2017-06-14 13:16:19 +02:00
2018-04-13 19:50:24 +02:00
2017-11-18 11:11:06 +01:00
2016-11-15 07:46:38 +01:00
2016-11-15 07:46:38 +01:00
2013-12-29 16:34:25 -05:00
2015-10-21 07:00:48 -07:00
2017-11-18 11:11:06 +01:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2017-05-14 13:32:58 +02:00
2014-09-01 18:12:45 -07:00
2015-10-21 07:00:53 -07:00
2015-07-09 14:22:52 -07:00
2018-05-26 08:48:48 +02:00
2012-03-11 23:42:51 -07:00
2014-05-23 16:28:53 -04:00
2015-09-17 17:18:37 -07:00
2013-05-31 17:19:05 -07:00