kernel_optimize_test/drivers/target
Nicholas Bellinger cceca4a638 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>
2015-04-15 22:47:15 -07:00
..
iscsi target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
loopback target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
sbp target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
tcm_fc target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
Kconfig
Makefile
target_core_alua.c
target_core_alua.h
target_core_configfs.c target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
target_core_device.c target: Drop left-over fabric_max_sectors attribute 2015-01-09 15:22:05 -08:00
target_core_fabric_configfs.c target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
target_core_fabric_lib.c
target_core_file.c target/file: Add checks for backend DIF emulation 2015-04-07 23:27:44 -07:00
target_core_file.h
target_core_hba.c
target_core_iblock.c target/iblock: Add checks for backend DIF emulation 2015-04-07 23:27:44 -07:00
target_core_iblock.h
target_core_internal.h target: move external declarations to a headers 2015-03-26 14:51:53 -07:00
target_core_pr.c target: Fix two sparse warnings 2015-04-14 12:37:38 -07:00
target_core_pr.h
target_core_pscsi.c
target_core_pscsi.h
target_core_rd.c target/rd: Don't pass incomplete scatterlist entries to sbc_dif_verify_* 2015-04-14 12:37:42 -07:00
target_core_rd.h
target_core_sbc.c target/sbc: Return INVALID_CDB_FIELD if DIF + sess_prot_type disabled 2015-04-15 22:47:15 -07:00
target_core_spc.c target: Update SPC/SBC emulation for sess_prot_type 2015-04-07 23:26:09 -07:00
target_core_stat.c
target_core_tmr.c
target_core_tpg.c target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
target_core_transport.c target: Ensure sess_prot_type is saved across session restart 2015-04-15 22:46:30 -07:00
target_core_ua.c
target_core_ua.h
target_core_user.c target: add missing __user annotations 2015-03-26 14:53:17 -07:00
target_core_xcopy.c target: simplify the target template registration API 2015-04-14 12:28:41 -07:00
target_core_xcopy.h