]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
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)
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>

No differences found