Return-Path: Received: from mail-pg0-f66.google.com ([74.125.83.66]:37893 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753541AbeFRFj4 (ORCPT ); Mon, 18 Jun 2018 01:39:56 -0400 Received: by mail-pg0-f66.google.com with SMTP id c9-v6so6991547pgf.5 for ; Sun, 17 Jun 2018 22:39:56 -0700 (PDT) Subject: Re: TCP receive windows broken in 4.14.48 To: Greg Kroah-Hartman Cc: Benjamin Gilbert , stable@vger.kernel.org References: <20180614210921.GA23356@trogon.sfo.coreos.systems> <20180614212029.GA27119@roeck-us.net> <20180618052005.GA6922@kroah.com> From: Guenter Roeck Message-ID: <9a2b9cdb-5c70-12cd-0706-e78f06d0f0e9@roeck-us.net> Date: Sun, 17 Jun 2018 22:39:54 -0700 MIME-Version: 1.0 In-Reply-To: <20180618052005.GA6922@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 06/17/2018 10:20 PM, Greg Kroah-Hartman wrote: > On Thu, Jun 14, 2018 at 02:20:29PM -0700, Guenter Roeck wrote: >> On Thu, Jun 14, 2018 at 05:09:21PM -0400, Benjamin Gilbert wrote: >>> Hi, >>> >>> 4.14.48 can cause abnormally small TCP receive windows when the sender is >>> faster than the receiver; see https://github.com/coreos/bugs/issues/2457 for >>> details. Reverting "tcp: avoid integer overflows in tcp_rcv_space_adjust()" >>> fixes it. Backporting 02db55718d53 ("tcp: do not overshoot window_clamp in >>> tcp_rcv_space_adjust()"), which is its parent commit upstream, also fixes >>> it. >>> >> 02db55718d53 applies cleanly, so I would suggest we go along that route >> instead of a revert. >> >> Greg - given that the problematic commit is in all stable releases, it would >> probably make sense to apply 02db55718d53 to pre-4.14 kernels as well. It >> does apply clean to all kernels all the way back to 3.18.y. > > Ah, but it breaks the build everywhere, so I've dropped it :( > Sigh. Maybe I'll learn to compile test at some point. > Can someone please backport it? I'll be glad to queue it up then. > Just sent a backport, though with a bit confused subject. I did compile test it this time with 4.14.y and 4.9.y. Guenter