Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp402036ybk; Wed, 13 May 2020 03:14:41 -0700 (PDT) X-Google-Smtp-Source: APiQypKN8caCh2C8465bojyHQ0YIpiijilf4bL0xPeoL+YqMzDpGMze0pVgvOyR6mrMJM7LXVxaf X-Received: by 2002:a50:eb0a:: with SMTP id y10mr21596002edp.312.1589364880840; Wed, 13 May 2020 03:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589364880; cv=none; d=google.com; s=arc-20160816; b=QSX5H+uppqJAOKLdLgIR67RYDghDK9DTsGe2KgMv3WuEp+4yfPpVpL2wI1nHjZIlAk Q7AO1voFUfPelb3jkiTXD0aVouthnA4LSVJvUKZ123hJxcW0Lf2cJqSF79duMG9Npx4f fGMkM3JiAuauaBdCpyNJhqu1gpuP2GWd+8qGgib9fDTFI/VIfZN153lbJVW6F895+5hB G/Qf+ySrk1V03mtXmbZ6LNIO7dLFiPRXAhJr6CAm1ybecjIAQKNT6CdO7SO1HczBdMBL RNdqGvOWFVUZ5pqPaAgUroB71wY8Anz9bHuLXvybNPkdhh0d/mlBvdgN/DTdPd1HGiJK HYQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NdjjGL8MpqoI3qRIFVjOnoQA/r9qpojYuKUJn4/nJEk=; b=t6uu71Ef+Ymf0Pob9+p3YHwageIVOkY3nTHiqkRdRDf5SOz6CMKsPi57xr6Fn98UE2 9RBbEgW666rb1tCPaMDF54tvjzB/HOgMqz5K3+7Mkt48CywJuu/UAU2UkfVkHTPruUYj e1f4ZUZvLxgjzB/kKutlJ3GyygVBJRV9DAhlm71Nf6MVAn2TaTmqlGLn7ios+BM8CEsO JbiBMhEOibLeVfyO6JO76rooqqv9xw5iEKRQnVypD6+bEXjLYDQgBMqXjm1fYQ1YXe1L KRUM1gHNiOR8PzX/EcCoNiKTpVZF+forojmHufJ7iH/KNade1fFHsgoywPKlSzUKb2t9 w+sg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i5si9705323ejr.71.2020.05.13.03.14.17; Wed, 13 May 2020 03:14:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732842AbgEMKKl (ORCPT + 99 others); Wed, 13 May 2020 06:10:41 -0400 Received: from verein.lst.de ([213.95.11.211]:45527 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbgEMKKk (ORCPT ); Wed, 13 May 2020 06:10:40 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id EA85568C65; Wed, 13 May 2020 12:10:37 +0200 (CEST) Date: Wed, 13 May 2020 12:10:37 +0200 From: Christoph Hellwig To: Ido Schimmel Cc: Christoph Hellwig , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] net/scm: cleanup scm_detach_fds Message-ID: <20200513101037.GA1143@lst.de> References: <20200511115913.1420836-1-hch@lst.de> <20200511115913.1420836-3-hch@lst.de> <20200513092918.GA596863@splinter> <20200513094908.GA31756@lst.de> <20200513095811.GA598161@splinter> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200513095811.GA598161@splinter> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 13, 2020 at 12:58:11PM +0300, Ido Schimmel wrote: > On Wed, May 13, 2020 at 11:49:08AM +0200, Christoph Hellwig wrote: > > On Wed, May 13, 2020 at 12:29:18PM +0300, Ido Schimmel wrote: > > > On Mon, May 11, 2020 at 01:59:12PM +0200, Christoph Hellwig wrote: > > > > Factor out two helpes to keep the code tidy. > > > > > > > > Signed-off-by: Christoph Hellwig > > > > > > Christoph, > > > > > > After installing net-next (fb9f2e92864f) on a Fedora 32 machine I cannot > > > ssh to it. Bisected it to this commit [1]. > > > > > > When trying to connect I see these error messages in journal: > > > > > > sshd[1029]: error: mm_receive_fd: no message header > > > sshd[1029]: fatal: mm_pty_allocate: receive fds failed > > > sshd[1029]: fatal: mm_request_receive_expect: buffer error: incomplete message > > > sshd[1018]: fatal: mm_request_receive: read: Connection reset by peer > > > > > > Please let me know if more info is required. I can easily test a patch > > > if you need me to try something. > > > > To start we can try reverting just this commit, which requires a > > little manual work. Patch below: > > Thanks for the quick reply. With the below patch ssh is working again. Ok. I'll see what went wrong for real and will hopefully have a different patch for you in a bit.