[PATCH 0/6] target: XCOPY parameter handling fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set builds on the previous XCOPY parameter validation and
error propagation changes at:
https://www.spinics.net/lists/target-devel/msg13789.html

The main change here is a fix for segment descriptor CSCD ID handling:
https://bugzilla.kernel.org/show_bug.cgi?id=191381
LIO currently incorrectly assumes that the copy source and destination
descriptors are placed in source->dest order in the CSCD descriptor
list, instead of using the IDs carried in the segment descriptor, as
is directed in SPC-4.

A reproducer for this bug can be found at:
https://github.com/ddiss/libiscsi iscsi-dd-xcopy-bko191381-reproducer

Feedback appreciated.

Cheers, David

--

 drivers/target/target_core_xcopy.c | 126 ++++++++++++++++++-----------
 drivers/target/target_core_xcopy.h |   1 +
 2 files changed, 80 insertions(+), 47 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



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux