Thread (1 message) 1 message, 1 author, 2019-03-21

Re: [PATCH 1/2] ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2019-03-21 00:13:56
Also in: linux-scsi, stable

Tyrel,
For each ibmvscsi host created during a probe or destroyed during a
remove we either add or remove that host to/from the global
ibmvscsi_head list. This runs the risk of concurrent modification.

This patch adds a simple spinlock around the list modification calls
to prevent concurrent updates as is done similarly in the ibmvfc
driver and ipr driver.
Applied to 5.1/scsi-fixes.

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help