]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: scsi_transport_sas: check reply payload length instead of bidi request
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Oct 2017 10:48:41 +0000 (12:48 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Oct 2017 03:40:51 +0000 (23:40 -0400)
commit07f5d563c6e52068cbfcd97ed79f5bb1b1d33067
treec7cdb412769ac7313facee5fe759acd86d7dbbee
parent67ec299bb543b0c15c9d13a1ed85a2b4b9a36d92
scsi: scsi_transport_sas: check reply payload length instead of bidi request

As a user of bsg-lib the SAS transport should not poke into request
internals but use the bsg_job fields instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_sas.c