diff options
author | Hannes Reinecke <hare@suse.de> | 2017-04-07 09:34:17 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-11 20:55:20 -0400 |
commit | 97d27b0dd015e980ade63fda111fd1353276e28b (patch) | |
tree | 73d20113d2a708816b6194c0519431db1e792700 /drivers/scsi/libfc | |
parent | 109bade9c625c89bb5ea753aaa1a0a97e6fbb548 (diff) | |
download | linux-97d27b0dd015e980ade63fda111fd1353276e28b.tar.bz2 |
scsi: sg: close race condition in sg_remove_sfp_usercontext()
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>
Diffstat (limited to 'drivers/scsi/libfc')
0 files changed, 0 insertions, 0 deletions