]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: api - Disallow cryptomgr as a module if algorithms are built-in
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Dec 2008 12:29:44 +0000 (23:29 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Dec 2008 12:29:44 +0000 (23:29 +1100)
commit24a6539aedbed7eaeff30ef175d43b40de1c2628
tree30bd7a1a6230e414d484bfee891af2bfcad0da93
parent383773176d96c7d74410e1562bb5b963e60a9738
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: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile