Received: by 2002:a19:ef0c:0:0:0:0:0 with SMTP id n12csp950272lfh; Tue, 1 Feb 2022 12:51:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWUAg6/GEV0qmqPYirbzhejnFR18mP3pesnAbF6R0s4taKTUh+A2vzWZ2xWyzD/T0xQtQ3 X-Received: by 2002:a05:6a00:1ac8:: with SMTP id f8mr26169010pfv.7.1643748715903; Tue, 01 Feb 2022 12:51:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748715; cv=none; d=google.com; s=arc-20160816; b=OISaq8IYJMRZSt3RGX3jx/F2IkQ3ddbZv+WHAFeChrBZNKLTf49pTawhD0Zo1Lmd35 pr9u3TG13P5K9EyXCX08HzD5h7gVbz/8Dk/r/X2VDf/2tHev9D4lfn4nCkuPPIu/qawP nOir1xeEqXrE44fVQ7JIZ3UFrrMKKEcT0RFYmIdF/PSW7z8xNNExtGHWt9zHffS6c9bD C0gh3FZ2N1QeCl+H+mbx0YZ8G0FuI8j+POMNtxdUhE1L/IICI4I51pJlw44Z8TwrEbQg xwiUbZkhKENA6XuPvDhjg6HOuuGmJQFFMHy1L20hN4V1DYjQ6koFWPfCrvlWKLO62F21 fkgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=KjQWemazRcP1hPdOdI2L+Wrlln9dopJV6+lDxQE0O/k=; b=HN7AyhviAGBHJ+E52XW0RCZZIEaLasfhgfF7I8jBgRvyGOmUrOcCQ68n0iL6yFyZo7 NzBtgfHKxaJwVPyL8rOyJ7sAwdZijsOmJS7pgRJoQBTvsjQBIj5G45DWy0BOhYsrIj71 rHOIC7e8yXA8gk9sZBPf9+A4MjiqOAsyHbhZ7bR64zszo4BJyFaB9y1LLstUhKONu7/4 82htlkxt+YCYDc1bS2EdLeEzghwSHl1iRvUHY1gTLOH/6afZUGlLqDRuYADhKCF2aj7U GiFp/+4MvP2/Z1P8MYUbCkmnbhx8oFXDGQEq1wwA62vdh2Gx+uD7F9utRcht6rCGkibb L6ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-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 d9si17042267pgd.804.2022.02.01.12.51.42; Tue, 01 Feb 2022 12:51:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232777AbiAaWUq (ORCPT + 99 others); Mon, 31 Jan 2022 17:20:46 -0500 Received: from server.atrad.com.au ([150.101.241.2]:41388 "EHLO server.atrad.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232213AbiAaWUq (ORCPT ); Mon, 31 Jan 2022 17:20:46 -0500 Received: from marvin.atrad.com.au (IDENT:1008@marvin.atrad.com.au [192.168.0.2]) by server.atrad.com.au (8.17.1/8.17.1) with ESMTPS id 20VMKK2n031344 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 1 Feb 2022 08:50:22 +1030 Date: Tue, 1 Feb 2022 08:50:20 +1030 From: Jonathan Woithe To: Chuck Lever III Cc: Bruce Fields , Linux NFS Mailing List Subject: Re: [PATCH 1/2] lockd: fix server crash on reboot of client holding lock Message-ID: <20220131222020.GB12905@marvin.atrad.com.au> References: <20220115081420.GB8808@marvin.atrad.com.au> <927EED04-840E-4DA6-B2B1-B604A7577B4E@oracle.com> <20220115212336.GB30050@marvin.atrad.com.au> <20220116220627.GA19813@marvin.atrad.com.au> <1E71316C-9EE8-4C71-ADA1-71E2910CA070@oracle.com> <20220117074430.GA22026@marvin.atrad.com.au> <20220117220851.GA8494@marvin.atrad.com.au> <20220117221156.GB3090@fieldses.org> <20220118220016.GB16108@fieldses.org> <6349BB98-FB18-4ABC-A893-1CCB1E5CA3E5@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6349BB98-FB18-4ABC-A893-1CCB1E5CA3E5@oracle.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-MIMEDefang-action: accept X-Scanned-By: MIMEDefang 2.86 on 192.168.0.1 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Jan 19, 2022 at 04:18:10PM +0000, Chuck Lever III wrote: > > On Jan 18, 2022, at 5:00 PM, Bruce Fields wrote: > > > > From: "J. Bruce Fields" > > > > I thought I was iterating over the array when actually the iteration is > > over the values contained in the array? > > > > Ugh, keep it simple. > > > > Symptoms were a null deference in vfs_lock_file() when an NFSv3 client > > that previously held a lock came back up and sent a notify. > > > > Reported-by: Jonathan Woithe > > Fixes: 7f024fcd5c97 ("Keep read and write fds with each nlm_file") > > Signed-off-by: J. Bruce Fields > > --- > > : > Hi Bruce, thanks for the fixes. They've passed my basic smoke tests. > I've applied both patches for the very next nfsd PR. See: > > git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git for-next OOI, is it expected that these fixes will appear in a 5.15.x stable branch patch at some point? I've looked at the 5.15.17 and 5.15.18 changelogs and they don't appear to be mentioned yet. Regards jonathan