scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Sep 2017 11:54:36 +0000 (13:54 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Sep 2017 00:40:58 +0000 (20:40 -0400)
commitb468b6a4969f9bdddb31d484f151bfa03fbee767
treedc072468b8d41f75c05ef24dea9adc9bf3490eca
parent3882a734c19b3cd7feb9e30e1dbd8ae54ac0905a
scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout

bsg-lib now embeddeds the job structure into the request, and
req->special can't be used anymore.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_fc.c