Hi, SPC4r37 specifies a number of restrictions placed on the XCOPY request target and segment descriptor list sizes, and defines sense codes for use when these constraints are exceeded. This patch-set improves existing checks to use correct sense codes, and adds missing segment descriptor list and total descriptor list length checks. Feedback appreciated. Cheers, David -- drivers/target/target_core_transport.c | 24 ++++++++++++++++++++++++ drivers/target/target_core_xcopy.c | 24 +++++++++++++++++++++--- include/target/target_core_base.h | 4 ++++ 3 files changed, 49 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html