Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: cryptd - disable softirqs in cryptd_queue_worker to prevent d…
…ata corruption 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]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information