[lkml]   [2011]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[251/264] crypto: cryptd - Use subsys_initcall to prevent races with aesni
    3.1-stable review patch.  If anyone has any objections, please let me know.


    From: Herbert Xu <>

    commit b2bac6acf86d05d8af0499f37d91ecac15722803 upstream.

    As cryptd is depeneded on by other algorithms such as aesni-intel,
    it needs to be registered before them. When everything is built
    as modules, this occurs naturally. However, for this to work when
    they are built-in, we need to use subsys_initcall in cryptd.

    Tested-by: Josh Boyer <>
    Signed-off-by: Herbert Xu <>
    Cc: Kerin Millar <>
    Signed-off-by: Greg Kroah-Hartman <>

    crypto/cryptd.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/crypto/cryptd.c
    +++ b/crypto/cryptd.c
    @@ -945,7 +945,7 @@ static void __exit cryptd_exit(void)



     \ /
      Last update: 2011-11-10 04:55    [W:0.021 / U:1.616 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site