Re: [PATCH] crypto: nx - fix concurrency issue

2013-08-14 Thread Herbert Xu
On Mon, Aug 12, 2013 at 06:49:37PM -0300, Marcelo Cerri wrote: The NX driver uses the transformation context to store several fields containing data related to the state of the operations in progress. Since a single tfm can be used by different kernel threads at the same time, we need to

[PATCH] crypto: nx - fix concurrency issue

2013-08-12 Thread Marcelo Cerri
The NX driver uses the transformation context to store several fields containing data related to the state of the operations in progress. Since a single tfm can be used by different kernel threads at the same time, we need to protect the data stored into the context. This patch makes use of spin