On Sun, Oct 21, 2012 at 08:42:28PM +0300, Jussi Kivilinna wrote:
> cryptd_queue_worker attempts to prevent simultaneous accesses to crypto
> workqueue by cryptd_enqueue_request using preempt_disable/preempt_enable.
> However cryptd_enqueue_request might be called from softirq context,
> so add local_bh_disable/local_bh_enable to prevent data corruption and
> panics.
> 
> Bug report at http://marc.info/?l=linux-crypto-vger&m=134858649616319&w=2
> 
> v2:
>  - Disable software interrupts instead of hardware interrupts
> 
> Cc: sta...@vger.kernel.org
> Reported-by: Gurucharan Shetty <gurucharan.she...@gmail.com>
> Signed-off-by: Jussi Kivilinna <jussi.kivili...@mbnet.fi>

Patch applied to crypto.

Thanks!
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to