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: [email protected]
> Reported-by: Gurucharan Shetty <[email protected]>
> Signed-off-by: Jussi Kivilinna <[email protected]>

Patch applied to crypto.

Thanks!
-- 
Email: Herbert Xu <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to