summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas.h
diff options
context:
space:
mode:
authorbrking@us.ibm.com2006-01-23 22:03:22 +0100
committerJames Bottomley2006-01-26 21:13:50 +0100
commitbb1d1073a10fdc8547e3eb821ee2488260094b39 (patch)
tree139a30834cea40e0d967506cfdaea603cf56a192 /drivers/scsi/megaraid/megaraid_sas.h
parent[SCSI] ips soft lockup during reset/initialization (diff)
downloadkernel-qcow2-linux-bb1d1073a10fdc8547e3eb821ee2488260094b39.tar.gz
kernel-qcow2-linux-bb1d1073a10fdc8547e3eb821ee2488260094b39.tar.xz
kernel-qcow2-linux-bb1d1073a10fdc8547e3eb821ee2488260094b39.zip
[SCSI] Prevent scsi_execute_async from guessing cdb length
When the scsi_execute_async interface was added it ended up reducing the flexibility of userspace to send arbitrary scsi commands through sg using SG_IO. The SG_IO interface allows userspace to specify the CDB length. This is now ignored in scsi_execute_async and it is guessed using the COMMAND_SIZE macro, which is not always correct, particularly for vendor specific commands. This patch adds a cmd_len parameter to the scsi_execute_async interface to allow the caller to specify the length of the CDB. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
0 files changed, 0 insertions, 0 deletions