From patchwork Thu Jan 16 23:17:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 233824 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FB8EC33CAF for ; Thu, 16 Jan 2020 23:24:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E2872072E for ; Thu, 16 Jan 2020 23:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217041; bh=6ONN6THwSMVFtzfoVkjJLw7s//kr73b1b6PtaCSjUDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=0Xy8dLpTkivxKAKQqcXR25sR6iCC+KnzdVDsd95A6Bb0X1v4a0kZOKShMbKw9I5fb 7td9G6GkMMP88/RL4lu+EI90WJgkHbIdHTQrgIgt77IV58aME0AnZ+hbptKYJpUtPu UHpAxNS0BED/cHOdTEohx7l52baJhYE7gopU/K9E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732465AbgAPXX7 (ORCPT ); Thu, 16 Jan 2020 18:23:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:52714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732710AbgAPXX6 (ORCPT ); Thu, 16 Jan 2020 18:23:58 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4CC362072E; Thu, 16 Jan 2020 23:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217037; bh=6ONN6THwSMVFtzfoVkjJLw7s//kr73b1b6PtaCSjUDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yBHEoOaQDT4WWajZVzVlrZNQXGAWiGt+Rlsg6fkskeZH1ZxwFW9S1zq5654KTwFva oSFsvFOt2KaEdxOfgqR/7lrqcnvt5cbNQU+kcYPrbhsDsRYglfKb4ZCd3mRm8QQAc+ nHwYK3GOSrW7GoZsyr1Y5tPr7KkLZT80tFYB36To= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jamie Heilman , Scott Mayhew , "J. Bruce Fields" Subject: [PATCH 5.4 106/203] nfsd: v4 support requires CRYPTO_SHA256 Date: Fri, 17 Jan 2020 00:17:03 +0100 Message-Id: <20200116231754.812048179@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231745.218684830@linuxfoundation.org> References: <20200116231745.218684830@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Scott Mayhew commit a2e2f2dc77a18d2b0f450fb7fcb4871c9f697822 upstream. The new nfsdcld client tracking operations use sha256 to compute hashes of the kerberos principals, so make sure CRYPTO_SHA256 is enabled. Fixes: 6ee95d1c8991 ("nfsd: add support for upcall version 2") Reported-by: Jamie Heilman Signed-off-by: Scott Mayhew Signed-off-by: J. Bruce Fields Signed-off-by: Greg Kroah-Hartman --- fs/nfsd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/nfsd/Kconfig +++ b/fs/nfsd/Kconfig @@ -73,7 +73,7 @@ config NFSD_V4 select NFSD_V3 select FS_POSIX_ACL select SUNRPC_GSS - select CRYPTO + select CRYPTO_SHA256 select GRACE_PERIOD help This option enables support in your system's NFS server for