On Tue, 2017-05-09 at 21:28 -0700, Nicholas A. Bellinger wrote: > Attempting to make 'size' in sbc_parse_cdb() enforce what the spec says, > instead of what it actually is in the received CDB is completely wrong. Please look again at e.g. the sg_verify source code. If it sets BYTCHK to zero it doesn't submit a Data-Out buffer. The only initiator that submits a Data-Out buffer and sets BYTCHK to zero is libiscsi when testing overflow behavior. Bart.