]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Revert "SUNRPC: Make RPCSEC_GSS_KRB5 select CRYPTO instead of depending on it"
authorChuck Lever <chuck.lever@oracle.com>
Thu, 16 Oct 2025 15:09:13 +0000 (11:09 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 10 Nov 2025 14:31:52 +0000 (09:31 -0500)
Geert reports:
> This is now commit d8e97cc476e33037 ("SUNRPC: Make RPCSEC_GSS_KRB5
> select CRYPTO instead of depending on it") in v6.18-rc1.
> As RPCSEC_GSS_KRB5 defaults to "y", CRYPTO is now auto-enabled in
> defconfigs that didn't enable it before.

Revert while we work out a proper solution and then test it.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/linux-nfs/b97cea29-4ab7-4fb6-85ba-83f9830e524f@kernel.org/T/#t
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/Kconfig

index 33aafdc8392e39d8dab65ea36a4436779463f804..2d8b67dac7b5b58a8a86c3022dd573746fb22547 100644 (file)
@@ -18,10 +18,9 @@ config SUNRPC_SWAP
 
 config RPCSEC_GSS_KRB5
        tristate "Secure RPC: Kerberos V mechanism"
-       depends on SUNRPC
+       depends on SUNRPC && CRYPTO
        default y
        select SUNRPC_GSS
-       select CRYPTO
        select CRYPTO_SKCIPHER
        select CRYPTO_HASH
        help