]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: crypto_wq - Fix late crypto work queue initialization
authorTim Chen <tim.c.chen@linux.intel.com>
Mon, 17 Mar 2014 23:52:26 +0000 (16:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:19 +0000 (10:28 -0700)
commit0253b3bff10fb9e5464efdc47e27272b47ad40b7
tree96f18f45f074e34b9562522a5232d4ad0a445a37
parent7ce60f41fa20ab7b08eef3d972804f7efe7938c3
crypto: crypto_wq - Fix late crypto work queue initialization

commit 130fa5bc81b44b6cc1fbdea3abf6db0da22964e0 upstream.

The crypto algorithm modules utilizing the crypto daemon could
be used early when the system start up.  Using module_init
does not guarantee that the daemon's work queue is initialized
when the cypto alorithm depending on crypto_wq starts.  It is necessary
to initialize the crypto work queue earlier at the subsystem
init time to make sure that it is initialized
when used.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/crypto_wq.c