Skip to content
Commit 6a0fcbb4 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: api - Disallow cryptomgr as a module if algorithms are built-in



If we have at least one algorithm built-in then it no longer makes
sense to have the testing framework, and hence cryptomgr to be a
module.  It should be either on or off, i.e., built-in or disabled.

This just happens to stop a potential runaway modprobe loop that
seems to trigger on at least one distro.

With fixes from Evgeniy Polyakov.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 437f2f91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment