diff options
| author | Hannes Reinecke <hare@suse.de> | 2017-04-07 09:34:17 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:23:26 +0100 |
| commit | 4a8e8e0af9a520a685e0ab2d489327d5220d7ce2 (patch) | |
| tree | 3bae040dd17e00a086828603cc465cb16ac3f778 /scripts/stackusage | |
| parent | 9088ad9fb1c004bbac5fd083a1a43cd52f8c8415 (diff) | |
scsi: sg: close race condition in sg_remove_sfp_usercontext()
[ Upstream commit 97d27b0dd015e980ade63fda111fd1353276e28b ]
sg_remove_sfp_usercontext() is clearing any sg requests, but needs to
take 'rq_list_lock' when modifying the list.
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Tested-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
