summaryrefslogtreecommitdiff
path: root/crypto/rng.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2017-04-02 10:08:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-24 13:00:15 +0300
commit8a15303518c005ae63ce1e22053822ea43db6dd1 (patch)
tree70507f72f32a8104398c28de03d2bc61ad86b5a3 /crypto/rng.c
parent9338ee7eea66913d821e1db1ae7b308c1f99adbb (diff)
downloadlinux-8a15303518c005ae63ce1e22053822ea43db6dd1.tar.xz
scsi: mac_esp: Replace bogus memory barrier with spinlock
[ Upstream commit 4da2b1eb230ba4ad19b58984dc52e05b1073df5f ] Commit da244654c66e ("[SCSI] mac_esp: fix for quadras with two esp chips") added mac_scsi_esp_intr() to handle the IRQ lines from a pair of on-board ESP chips (a normal shared IRQ did not work). Proper mutual exclusion was missing from that patch. This patch fixes race conditions between comparison and assignment of esp_chips[] pointers. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions