Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1230720ybi; Fri, 21 Jun 2019 16:56:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjks5emcb8JZHqD3YwHn1vOU8kDqEr+HGMlyKyGVStOZr9GouG4QJW22w6GiYHoar3qiDU X-Received: by 2002:a17:902:294a:: with SMTP id g68mr137192843plb.169.1561161413358; Fri, 21 Jun 2019 16:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561161413; cv=none; d=google.com; s=arc-20160816; b=uzT36CQ4kgzubT4g+4IJSRjsM6nlvGhlTg6LqIl9l2+VMfczBErsYrxagw0JDpXPVr gw9jxZKQ6m4OVbNS8D5a9WNPD0mJuucsBQ8pyfNtHBqaDFBM9+W9Go/8I8hGECSwtcHE hXyvprE3g7IrW5gbUPlOkES54cvMJqTSUDldfuRfNAbWbUeYaN1RkBJEkyc2EZceawxm y3bI48hZwLz2LDlhVahlpct9UYYMS6w0gmcWoOY/IGwFwxUPN23k4aOVpoabdgyuBJDN SvGPSLrF3QetdKQCM8AtFFEZ2xjch0K1pSMxEwTxgSm+z/4OheSxVBniu8E/tx+8y/Cl Qciw== 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=RQK18XIcxlXIt/29Bx6Bkf5h9dlomFFNrBoRe9o+KJ0=; b=vBsdXEbhWTEwMKtSPf3mw/wOE60i4X7yRBCAUY26bfavzpJyhKC5n4TJkfiXi3CvvE QXIX7HkjXvisp1uYomXkXIxakvvrJCF/aDk02SS6EXRwLWZteKC2/5PIGwNv380lR/0F up21xJrz1fOx4Agm1J1Uve/mMuo1y7LoHEv2xYW0Mm9swQzFTktGX8h/1cXbLVEvBIm/ NhRiRcDudnQ+tt+rdG/HgBIh13dGN1gURzgmbtiGpfYagtWkdMCu6faMgY6g8y8QMj2T uk8YC5qcuA+Ej2ejpJi8uj8ySrfn0g6p9JC3AqbE0KbAkFw04frF8x9zkWTalumhsepk WFBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="gfe2/07n"; 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 y82si4104282pfb.58.2019.06.21.16.56.38; Fri, 21 Jun 2019 16:56:53 -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="gfe2/07n"; 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 S1726070AbfFUXyx (ORCPT + 99 others); Fri, 21 Jun 2019 19:54:53 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:41362 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbfFUXyx (ORCPT ); Fri, 21 Jun 2019 19:54:53 -0400 Received: by mail-lf1-f68.google.com with SMTP id 136so6174964lfa.8 for ; Fri, 21 Jun 2019 16:54:52 -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=RQK18XIcxlXIt/29Bx6Bkf5h9dlomFFNrBoRe9o+KJ0=; b=gfe2/07nsLCM4qgKuiUO65QDBttbOccAQdNobA1xekF618PiPqAOIqOMIh8gbpJTZV uPaKagNO+30GqS3DntMCpxfQNNhBi1W39Mco86uNkkAa9mUMLcAm9zaySloDE+th7C/e aIu8CN9p5Lve08uiZ2QGlvPXn128PcPU1POzY= 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=RQK18XIcxlXIt/29Bx6Bkf5h9dlomFFNrBoRe9o+KJ0=; b=bAwCqIJISHH5lAwUz4gGD6yhDMIfM1cDRGLGusUy+8wT80Gn2Sga70/YjB+0SaUTKT a2rPGrhetSefm86UkGQo2vNnTMLjgRBX+vKGpodJGfVswFU6/kVPKXWIN+gwRATfo9+m RzxDnXuTH2jXU28mGT9mCCz3CMaaumZnjRlJ7t8Bih4h1L+MzAFVEiP65rp+8vXDQfM2 DFNtKS4YaQu4gkFr/vc4oL4Gj+x0hfyV7ed3+PZNwEIBk0O9kbB9p8U0G7DD5vCNCwu/ zvd0VNa1XelYyO3wvn/gcNrkUTivVdTwjxRHal9CU1jql0XVxoIorVnuESJSLfPdfztW GD8w== X-Gm-Message-State: APjAAAXOI8TCZCUvNIvjQNMrAVocTjcFm1URezoTi57zyfM/fCQp6rXT QO6bhQCbowXKFtPINzAKD7ONRWq4PWs= X-Received: by 2002:a19:6a01:: with SMTP id u1mr4667274lfu.141.1561161291102; Fri, 21 Jun 2019 16:54:51 -0700 (PDT) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com. [209.85.208.172]) by smtp.gmail.com with ESMTPSA id r2sm567783lfi.51.2019.06.21.16.54.50 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2019 16:54:50 -0700 (PDT) Received: by mail-lj1-f172.google.com with SMTP id p17so7439275ljg.1 for ; Fri, 21 Jun 2019 16:54:50 -0700 (PDT) X-Received: by 2002:a2e:9ec9:: with SMTP id h9mr35965670ljk.90.1561161290001; Fri, 21 Jun 2019 16:54:50 -0700 (PDT) MIME-Version: 1.0 References: <20190621214139.GA31034@kroah.com> In-Reply-To: From: Linus Torvalds Date: Fri, 21 Jun 2019 16:54:34 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Steam is broken on new kernels To: Eric Dumazet Cc: Greg Kroah-Hartman , "Pierre-Loup A. Griffais" , 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 Eric is talking about this patch, I think: https://patchwork.ozlabs.org/patch/1120222/ I guess I'll ask people on the github thread to test that too. Linus On Fri, Jun 21, 2019 at 3:38 PM Eric Dumazet wrote: > > Please look at my recent patch. > Sorry I am travelling.... > > On Fri, Jun 21, 2019, 6:19 PM Linus Torvalds wrote: >> >> 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