Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3586202pxp; Wed, 23 Mar 2022 01:28:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw879yhAjtGKHc8g9EEb1HU7DQt5Go2wlgDH+ebrGAV11QejVpBoxY3jqeZUf0NFj3WEk9O X-Received: by 2002:a17:906:4443:b0:6cf:6a7d:5f9b with SMTP id i3-20020a170906444300b006cf6a7d5f9bmr29649806ejp.12.1648024115358; Wed, 23 Mar 2022 01:28:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648024115; cv=none; d=google.com; s=arc-20160816; b=rJ6EdHT5AB9GEuPNTygfyB//pVXTYKULlE+380Z/oYEb9kSVaImSrdda2WRpUOkgS2 Q0veeYWkMj08K7zhgXRDHZEboJFfob0uQ8CJbdqtVCf5NmgEFOqfoDk7NHNATl9Kbr63 e0JpvvMiK1X21s235jpyeVNpTi3x7+uj2wnGQHPDT0iXk1pE02qMc+bxeaGBO4q8aPu8 LN4CgrT331kvLb8wbjQ0nI9t5WbDeRQknNRNDf8dRXPKJRHBGoq9o7HTjivqITwMz4Hr 63+vfPcW92DiMoJBDKCCjjU7n5xsCgjXVccX8i0WTQfoCBRDUSTDoussoPMyzs4dvO0U FK+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=YFEHHZ6NhGS/9VAvb41DEO7TqvzmnJI5N+LI+FWb+kM=; b=YS6VKP5YQjWPqtvxf+4v0mNvj4KGNSXQLbRnYZOJ1xOh0pfhVlR+b/Z4FvfiwNDBnm wRwyNI433ggiDhGpaLb3GgBtuKhwRcTUCtrwAPsCezwrms6uH9wwq29j9Rgl6OPAvF4A ZQ1yHmSMMshGndcB9pLlQJezXRnUpgA58OvyafG1QWUIhGmkUIVqezLzT9ApvF/0J3Xa kdAIqwPn7G+cfWWZa99ihsJ+TRTunly2TJYz1Wzbo7sfy0GhsSkby/ZOhZ/gNVBgxztH qUE0302KfL+UYoYhBELteS9AqvXrjSsVy13wlYq27ixm7YQ9d8bxm+QJ3g8Za6M3ogsq 4ldg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qrMdeTMk; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t1-20020a508d41000000b00418c2b5bd7bsi15491987edt.93.2022.03.23.01.27.58; Wed, 23 Mar 2022 01:28:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qrMdeTMk; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbiCVVCW (ORCPT + 99 others); Tue, 22 Mar 2022 17:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235087AbiCVVCS (ORCPT ); Tue, 22 Mar 2022 17:02:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28A794C40A for ; Tue, 22 Mar 2022 14:00:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BC96AB81DAA for ; Tue, 22 Mar 2022 21:00:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B6A5C340EC for ; Tue, 22 Mar 2022 21:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647982847; bh=wBRzPra9km6xMO1tlBTlUaBG4W56cAP7LMraUQp3gSE=; h=From:To:Subject:Date:From; b=qrMdeTMkiNI/BnhOUjUcAMuleGcm64v73mxcP+g8YOGq/DsbjWqAzbqAktF1DCft2 kCrVnQ6loRM/bkwUaPTBIZKc9X3EwAT/W7r9LtOmwLi3b7Odzt1haGR3IbmZPc4wxd Gy0HIBU0g0WU2Jyo0wA1Yr34bh37N2sVqrOqfXSNhaTCN1wKZfsxby87pUA1Ne43HY NfCwOvGn/jfjKjocWVYBB71aFsRGopeasaCqoC2v9ExOvY+o9u/JX8+fgNGGtAW2xW zNVvgxSALq4WAjr8IzNZL3Fcyd7uT6QTayAd+/oy6UoWOccuvbJ1ZX46mWzbPexnI+ d1T1m45gBKehg== From: trondmy@kernel.org To: linux-nfs@vger.kernel.org Subject: [PATCH 0/2] Readdir fixes Date: Tue, 22 Mar 2022 16:54:19 -0400 Message-Id: <20220322205421.726627-1-trondmy@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Trond Myklebust Two fixes that apply on top of the linux-next branch. The first one fixes a potential deadlock due to hash collisions. The second fixes a validation issue. Trond Myklebust (2): NFS: Don't deadlock when cookie hashes collide NFS: Fix revalidation of empty readdir pages fs/nfs/dir.c | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) -- 2.35.1