diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-06-10 01:19:38 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-06-11 13:06:50 -0700 |
commit | 9f977ef7b671f6169eca78bf40f230fe84b7c7e5 (patch) | |
tree | 88845561247d1f3f429d97e2800b347eb91ed261 /crypto/xcbc.c | |
parent | e2a4f55c6498b59a17a85a1bb6db122a993ffe02 (diff) | |
download | talos-op-linux-9f977ef7b671f6169eca78bf40f230fe84b7c7e5.tar.gz talos-op-linux-9f977ef7b671f6169eca78bf40f230fe84b7c7e5.zip |
vhost-scsi: Include prot_bytes into expected data transfer length
This patch updates vhost_scsi_get_tag() to accept the combined
expected data transfer length + T10 PI bytes as the value passed
into target_submit_cmd().
This is required now that target-core logic in commit 14ef9200
expects to subtract se_cmd->prot_length from se_cmd->data_length.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions