linux/drivers/scsi/ibmvscsi
Brian King 2584e5aef8 scsi: ibmvfc: Protect vhost->task_set increment by the host lock
In the discovery thread, ibmvfc does a vhost->task_set++ without any lock
held. This could result in two targets getting the same cancel key, which
could have strange effects in error recovery.  The actual probability of
this occurring should be extremely small, since this should all be done in
a single threaded loop from the discovery thread, but let's fix it up
anyway to be safe.

Link: https://lore.kernel.org/r/1600286999-22059-1-git-send-email-brking@linux.vnet.ibm.com
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-09-22 17:38:39 -04:00
..
ibmvfc.c scsi: ibmvfc: Protect vhost->task_set increment by the host lock 2020-09-22 17:38:39 -04:00
ibmvfc.h scsi: ibmvfc: Avoid link down on FS9100 canister reboot 2020-09-15 20:48:14 -04:00
ibmvscsi.c scsi: Fix trivial spelling 2020-06-15 23:28:04 -04:00
ibmvscsi.h SCSI misc on 20190709 2019-07-11 15:14:01 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00