evm: prevent racing during tfm allocation
authorDmitry Kasatkin <[email protected]>
Mon, 5 Dec 2011 11:17:42 +0000 (13:17 +0200)
committerDmitry Kasatkin <[email protected]>
Tue, 20 Dec 2011 15:50:08 +0000 (17:50 +0200)
commit97426f985729573cea06e82e271cc3929f1f5f8e
tree4aafe725018a95dc5c76ede5199d24aea524b060
parentd21b59451886cb82448302f8d6f9ac87c3bd56cf
evm: prevent racing during tfm allocation

There is a small chance of racing during tfm allocation.
This patch fixes it.

Signed-off-by: Dmitry Kasatkin <[email protected]>
Acked-by: Mimi Zohar <[email protected]>
Signed-off-by: James Morris <[email protected]>
security/integrity/evm/evm_crypto.c