Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1164684ybi; Fri, 21 Jun 2019 15:20:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgeZDxQdjqOA0dM9KzNzJ86CBCartHmJ0y63Wel31JVsjLUaHpWiKU2VKiMRKRS+EOvEO2 X-Received: by 2002:a63:8041:: with SMTP id j62mr9028418pgd.414.1561155633953; Fri, 21 Jun 2019 15:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561155633; cv=none; d=google.com; s=arc-20160816; b=zRc0ixdtzs7jDAo873NsW407UWkB6rwb9eNeDRVHtS6Mest5GuDMhN9lbRHl/E8Yz/ 7f0OVs9ukzCUHz2y2saZfo/hqD2YrMRSoOvt8EtTLFE+up4FGdIKzHCZeewyK8nJAcsC 2TPphZeAqSvd8aFRpZU2LRzzW8OP2NInwhefmu+o6TaOximSIiUgdhe150LTGn6K4dMX o8oHoW8E6aEoUfy4ygp6aEioUL2kTpYxRy7OfHZ42KtAf3uUl2eL19zMMX17V5oHTUr5 e7Qu7yKsGVcWM2NutEInKSrOjlqPdka/YEkOtoWpyFPS3AR5gWR6ciE5TEc8tpzXL9jV IpMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qnhyB5vk+XiyLXNMoZEM9dhU0jTrIQzBci7bAAtuoaE=; b=EWJ/7lyhaB2JqZAl5ufQaXdbriDcmYCCUlZ/H76KSsxMknLT7HABojrNyhpQzeyG0a bUo4zQWoGKsTGP4suyr+nBhd7W6QRP1g96lDrPhpua4de2zBac2TyXHfrM8qzt3Fcp3/ TjhCTvU9CTRvCHPYPYF1q6tUsXT5MqWpubxmjiz2Z5SkwEPuZXyGdEmmkd4eSHB3OToj BDE/+krXpynY8JqM3amfblRNUXdpMC5XbiqLgV+jtqcrU3Y2uV1Fk4+Q1Cxx7A79EIgB fSDxWoPPkB7Xck4/+xTHwcLIxESxVW5HGRSL1NnTWW+R3VjxHNJZ6qWWPcb/U7e+qaDR HqJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="a9/ijy3B"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si3442270pgl.543.2019.06.21.15.20.16; Fri, 21 Jun 2019 15:20:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="a9/ijy3B"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726225AbfFUWTo (ORCPT + 99 others); Fri, 21 Jun 2019 18:19:44 -0400 Received: from mail-lj1-f181.google.com ([209.85.208.181]:44327 "EHLO mail-lj1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726031AbfFUWTo (ORCPT ); Fri, 21 Jun 2019 18:19:44 -0400 Received: by mail-lj1-f181.google.com with SMTP id k18so7256653ljc.11 for ; Fri, 21 Jun 2019 15:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qnhyB5vk+XiyLXNMoZEM9dhU0jTrIQzBci7bAAtuoaE=; b=a9/ijy3BN58/m6zYcz1WvuxZVURngMcAjm2x8xNyRdZxxj0rMw43d7H7IuqgEVi/Ho 6X5fZNMXAwUlFyykTCQmA6YBh2Z65MerKRko2lTP3HIsf7gMw0jxTOP/98vW8p8fbUxq sRglJ6SGtMg0SvxfzBHfj8YiD6lBiPUBFZLnM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qnhyB5vk+XiyLXNMoZEM9dhU0jTrIQzBci7bAAtuoaE=; b=jZPzPc9UUXInKqIlY9bN8sGMpw5hJ0fX7D9YskDTfzWaEhJ7hKMxwn2vgzl8KVxzk+ S5As2sWRqmY6CdcoRe/3+M4qxYyKwPdwRAho0S51LQtq4FUfdfRRiznFYxe0UkQOQIBO YU1PDtxxJ6CgqEqR9YzDxuJqSIU3kAxq2kbm6rXEee+eTexmDe8wDP8NUnF7eSdaZEab gf77/TqwJTacgKMNtnd0fXeBx0aCkm9NHMSn6dJ12YYcaGhy/CNxyHRoxqIxRhaV25rx vXjhwxm1TnkGm9N3loBMWj8aHCweSUhSANhMLi7yPD+sYeBR4Oovb+G3uiPrYvfZNzEm JeDg== X-Gm-Message-State: APjAAAUmhpeZfx8cgs20zdJpU9uUvsgxrZ0kUFMZFflA7p3TPGKn7ymO KMI5ziJho5kKvm/lvjTjeEi3ecVmyjQ= X-Received: by 2002:a2e:b0c4:: with SMTP id g4mr36270070ljl.155.1561155581925; Fri, 21 Jun 2019 15:19:41 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id f1sm557604ljf.53.2019.06.21.15.19.40 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2019 15:19:40 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id 16so7249498ljv.10 for ; Fri, 21 Jun 2019 15:19:40 -0700 (PDT) X-Received: by 2002:a2e:9a58:: with SMTP id k24mr28824220ljj.165.1561155580434; Fri, 21 Jun 2019 15:19:40 -0700 (PDT) MIME-Version: 1.0 References: <20190621214139.GA31034@kroah.com> In-Reply-To: <20190621214139.GA31034@kroah.com> From: Linus Torvalds Date: Fri, 21 Jun 2019 15:19:24 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Steam is broken on new kernels To: Greg Kroah-Hartman Cc: "Pierre-Loup A. Griffais" , Eric Dumazet , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2019 at 2:41 PM Greg Kroah-Hartman wrote: > > What specific commit caused the breakage? Both on reddit and on github there seems to be confusion about whether it's a problem or not. Some people have it working with the exact same kernel that breaks for others. And then some people seem to say it works intermittently for them, which seems to indicate a timing issue. Looking at the SACK patches (assuming it's one of them), I'd suspect the "tcp: tcp_fragment() should apply sane memory limits". Eric, that one does if (unlikely((sk->sk_wmem_queued >> 1) > sk->sk_sndbuf)) { NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPWQUEUETOOBIG); return -ENOMEM; } but I think it's *normal* for "sk_wmem_queued >> 1" to be around the same size as sk_sndbuf. So if there is some fragmentation, and we add more skb's to it, that would seem to trigger fairly easily. Particularly since this is all in "truesize" units, which can be a lot bigger than the packets themselves. I don't know the code, so I may be out to lunch and barking up completely the wrong tree, but that particular check does seem like it might trigger much more easily than I think the code _intended_ it to trigger? Pierre-Loup - do you guys have a test-case inside of valve? Or is this purely "we see some people with problems"? Linus