diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-04-14 11:55:01 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-04-15 22:47:15 -0700 |
commit | cceca4a638708c7f62e60f9f99684a8d57358dd0 (patch) | |
tree | 71eb420754016068690cdbe53398025b7d74bd5e /sound | |
parent | bffb5128f91e820fd8804307a6431607c2c840a4 (diff) | |
download | linux-cceca4a638708c7f62e60f9f99684a8d57358dd0.tar.bz2 |
target/sbc: Return INVALID_CDB_FIELD if DIF + sess_prot_type disabled
In sbc_check_prot(), if PROTECT is non-zero for a backend device with
DIF disabled, and sess_prot_type is not set go ahead and return
INVALID_CDB_FIELD.
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 'sound')
0 files changed, 0 insertions, 0 deletions