Thread (2 messages) flat view 2 messages, 2 authors, 2020-09-30

Re: [PATCH] ibmvfc: Protect vhost->task_set increment by the host lock

From: Martin K. Petersen <hidden>
Date: 2020-09-30 03:35:03
Also in: linux-scsi

On Wed, 16 Sep 2020 15:09:59 -0500, Brian King wrote:
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.
Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: ibmvfc: Protect vhost->task_set increment by the host lock
      https://git.kernel.org/mkp/scsi/c/2584e5aef87a

-- 
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