Re: [PATCH] [crypto] load the SHA1[1|256] module by an alias (v2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 07, 2007 at 12:02:20AM +0200, Sebastian Siewior wrote:
>
> >BTW, the dead-lock does exist after all.  The lock that's held
> >is the user-space file lock held by modprobe.  Assuming that
> >padlock-sha comes before sha in the alias list, then the second
> >modprobe will hit padlock-sha again and dead-lock.
> 
> Really, hmm. That CRYPTO_ALG_NEED_FALLBACK flag is unused than? 

That flag is only known to the crypto code.  Modprobe knows
nothing of it so the two probes will look the same to modprobe.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux