On Wed, May 30, 2018 at 01:36:05PM -0700, Guenter Roeck wrote: > From: Eric Dumazet <edumazet@xxxxxxxxxx> > > 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@xxxxxxxxxx> > Acked-by: Soheil Hassas Yeganeh <soheil@xxxxxxxxxx> > Acked-by: Wei Wang <weiwan@xxxxxxxxxx> > Acked-by: Neal Cardwell <ncardwell@xxxxxxxxxx> > Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> > [Backport: sysctl_tcp_rmem is not Namespace-ify'd in older kernels] > Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx> > --- > Applies cleanly to v4.4.y and v4.9.y; v4.14.y needs "git am -3". Now queued up, thanks. greg k-h