linux/drivers/target
Dmitry Bogdanov 2f2150bf41 scsi: target: Fix protect handling in WRITE SAME(32)
[ Upstream commit 6d8e7e7c932162bccd06872362751b0e1d76f5af ]

WRITE SAME(32) command handling reads WRPROTECT at the wrong offset in 1st
byte instead of 10th byte.

Link: https://lore.kernel.org/r/20210702091655.22818-1-d.bogdanov@yadro.com
Fixes: afd73f1b60 ("target: Perform PROTECT sanity checks for WRITE_SAME")
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-28 13:30:56 +02:00
..
iscsi scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd() 2021-07-14 16:53:48 +02:00
loopback scsi: target: loopback: Fix READ with data and sensebytes 2020-06-24 17:50:25 +02:00
sbp
tcm_fc mm: introduce page_size() 2019-09-24 15:54:08 -07:00
Kconfig
Makefile
target_core_alua.c
target_core_alua.h
target_core_configfs.c
target_core_device.c scsi: target: core: Do not overwrite CDB byte 1 2019-10-17 21:40:25 -04:00
target_core_fabric_configfs.c
target_core_fabric_lib.c scsi: target: fix PR IN / READ FULL STATUS for FC 2020-05-02 08:48:56 +02:00
target_core_file.c
target_core_file.h
target_core_hba.c
target_core_iblock.c scsi: target/iblock: fix WRITE SAME zeroing 2020-05-06 08:15:14 +02:00
target_core_iblock.h
target_core_internal.h scsi: target: Fix xcopy sess release leak 2020-09-03 11:26:44 +02:00
target_core_pr.c scsi: target: core: Prevent underflow for service actions 2021-03-17 17:03:45 +01:00
target_core_pr.h
target_core_pscsi.c scsi: target: pscsi: Fix warning in pscsi_complete_cmd() 2021-05-11 14:04:08 +02:00
target_core_pscsi.h
target_core_rd.c
target_core_rd.h
target_core_sbc.c scsi: target: Fix protect handling in WRITE SAME(32) 2021-07-28 13:30:56 +02:00
target_core_spc.c
target_core_stat.c
target_core_tmr.c
target_core_tpg.c
target_core_transport.c scsi: target: core: Fix warning on realtime kernels 2021-06-18 09:58:59 +02:00
target_core_ua.c
target_core_ua.h
target_core_user.c scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found 2021-05-22 11:38:29 +02:00
target_core_xcopy.c scsi: target: Fix XCOPY NAA identifier lookup 2021-01-12 20:16:25 +01:00
target_core_xcopy.h scsi: target: Fix XCOPY NAA identifier lookup 2021-01-12 20:16:25 +01:00