On Wed, Feb 17, 2010 at 08:37:35AM +0800, Herbert Xu wrote: > On Tue, Feb 16, 2010 at 09:31:39PM +0200, Alexey Dobriyan wrote: > > > > Which codepath exactly? > > When a spawn is created the instance associated with it will have > a zero-initialised cra_users entry. > > > BTW, CBC or AES aren't used, just loaded. > > Can you boot without aes/cbc loaded and see if it gets automatically > loaded? PF_KEY users tend to load all possible algorithms when > they start up. AES and CBC are indeed loaded even if not used. xfrm4_tunnel 1701 0 tunnel4 2319 1 xfrm4_tunnel ipcomp 2063 0 xfrm_ipcomp 5154 1 ipcomp xfrm4_mode_tunnel 1861 0 deflate 2033 0 zlib_deflate 21231 1 deflate zlib_inflate 18334 1 deflate aes_generic 26652 0 des_generic 16263 0 cbc 2945 0 sha1_generic 2223 0 md5 4161 0 hmac 3041 0 cryptomgr 105876 0 aead 6474 1 cryptomgr pcompress 1767 1 cryptomgr crypto_null 2910 0 crypto_blkcipher 12080 3 cbc,cryptomgr,crypto_null crypto_hash 15857 5 sha1_generic,md5,hmac,cryptomgr,crypto_null crypto_algapi 16753 11 deflate,aes_generic,des_generic,cbc,hmac,cryptomgr,aead,pcompress,crypto_null,crypto_blkcipher,crypto_hash af_key 30024 0 Race started to become even less reproducible, so I can't confirm your patch quickly. :-( -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html