From: Scott Mayhew Date: Tue, 12 Nov 2019 19:01:55 +0000 (-0500) Subject: nfsd: v4 support requires CRYPTO_SHA256 X-Git-Tag: Ubuntu-5.3.0-41.33~252 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3ddbefda91fb119899c9b4b39ca8db6a41407c1a;p=mirror_ubuntu-eoan-kernel.git nfsd: v4 support requires CRYPTO_SHA256 BugLink: https://bugs.launchpad.net/bugs/1862227 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 Signed-off-by: Kamal Mostafa Signed-off-by: Khalid Elmously --- diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig index d25f6bbe7006..c8bae29fb239 100644 --- a/fs/nfsd/Kconfig +++ b/fs/nfsd/Kconfig @@ -72,7 +72,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