Return-Path: Received: from mail-pl0-f42.google.com ([209.85.160.42]:38703 "EHLO mail-pl0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755369AbeFNVJ1 (ORCPT ); Thu, 14 Jun 2018 17:09:27 -0400 Received: by mail-pl0-f42.google.com with SMTP id b14-v6so4187271pls.5 for ; Thu, 14 Jun 2018 14:09:27 -0700 (PDT) From: Benjamin Gilbert Date: Thu, 14 Jun 2018 17:09:21 -0400 To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , Guenter Roeck Subject: TCP receive windows broken in 4.14.48 Message-ID: <20180614210921.GA23356@trogon.sfo.coreos.systems> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: stable-owner@vger.kernel.org List-ID: 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. --Benjamin Gilbert