diff options
| author | 2015-04-14 11:57:43 -0700 | |
|---|---|---|
| committer | 2015-04-15 22:47:17 -0700 | |
| commit | d7a463b0acc3fecf9d01cd5d518bf46578658ff3 (patch) | |
| tree | 9a7c3c8ce23ea4b4c20ba32f4be8a3a276d8fa4e /lib/mpi/mpiutil.c | |
| parent | target/sbc: Return INVALID_CDB_FIELD if DIF + sess_prot_type disabled (diff) | |
| download | wireguard-linux-d7a463b0acc3fecf9d01cd5d518bf46578658ff3.tar.xz wireguard-linux-d7a463b0acc3fecf9d01cd5d518bf46578658ff3.zip | |
target/sbc: Make internal DIF emulation honor ->prot_checks
The internal DIF emulation was not honoring se_cmd->prot_checks for
the WRPROTECT/RDPROTECT == 0x3 case, so sbc_dif_v1_verify() has been
updated to follow which checks have been calculated based on
WRPROTECT/RDPROTECT in sbc_set_prot_op_checks().
Reviewed-by: Martin Petersen <martin.petersen@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
