aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <[email protected]>2017-02-16 12:51:23 -0800
committerMartin K. Petersen <[email protected]>2017-02-22 18:41:42 -0500
commitd844752e1801099f92c178845f56412861a2b4af (patch)
tree56685bd1e4aa281196699cf2ccad004832af976c /lib/mpi/mpi-cmp.c
parent09624645e1e85df8d68b04de6e0607d696268333 (diff)
scsi: aacraid: Fix a potential spinlock double unlock bug
The driver does not unlock the reply queue spin lock after handling SMART adapter events. Instead it might attempt to unlock an already unlocked spin lock. Fixed by making sure the driver locks the spin lock before freeing it. Thank you dan for finding this issue out. Fixes: 6223a39fe6fbbeef (scsi: aacraid: Added support for hotplug) Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Raghava Aditya Renukunta <[email protected]> Reviewed-by: David Carroll <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions