David Disseldorp
af9f62c168
target: bounds check XCOPY segment descriptor list
...
Check the length of the XCOPY request segment descriptor list against
the value advertised via the MAXIMUM SEGMENT DESCRIPTOR COUNT field in
the RECEIVE COPY OPERATING PARAMETERS response.
spc4r37 6.4.3.5 states:
If the number of segment descriptors exceeds the allowed number, the
copy manager shall terminate the command with CHECK CONDITION status,
with the sense key set to ILLEGAL REQUEST, and the additional sense
code set to TOO MANY SEGMENT DESCRIPTORS.
This functionality is testable using the libiscsi
ExtendedCopy.DescrLimits test.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2017-01-10 08:40:58 -08:00
..
2016-12-24 11:46:01 -08:00
2016-12-13 15:30:50 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 14:56:58 -08:00
2016-12-25 17:21:22 +01:00
2016-12-16 10:24:44 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 11:04:12 +01:00
2016-12-15 16:06:15 -08:00
2016-12-25 14:30:04 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-16 00:13:32 +02:00
2016-12-18 15:49:10 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-14 11:14:28 -08:00
2016-12-19 10:01:47 +01:00
2016-12-19 08:16:26 -08:00
2016-12-25 17:21:22 +01:00
2016-12-14 10:12:26 +01:00
2016-12-25 11:04:12 +01:00
2016-12-12 11:33:44 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-13 10:41:53 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-22 10:19:32 -08:00
2016-12-25 14:30:04 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-13 12:11:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-13 10:19:16 -08:00
2016-12-24 11:46:01 -08:00
2016-12-19 08:16:26 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 14:30:04 -08:00
2016-12-23 16:11:07 -05:00
2016-12-24 11:46:01 -08:00
2016-12-18 15:49:10 -08:00
2016-12-19 08:35:24 -07:00
2016-12-15 12:46:48 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 18:55:06 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2016-12-15 15:50:24 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 19:56:15 -08:00
2016-12-15 11:45:13 -08:00
2016-12-19 08:16:26 -08:00
2016-12-15 16:03:25 -08:00
2016-12-13 08:52:45 -08:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 14:30:04 -08:00
2016-12-12 18:55:08 -08:00
2016-12-16 09:26:42 -08:00
2016-12-14 20:42:45 -08:00
2016-12-25 10:47:43 +01:00
2017-01-10 08:40:58 -08:00
2016-12-13 10:41:53 -08:00
2016-12-13 12:11:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-16 09:26:42 -08:00
2016-12-16 10:24:44 -08:00
2016-12-24 11:46:01 -08:00
2016-12-16 00:13:39 +02:00
2016-12-24 11:27:45 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00