Hi All,
This is regarding digest error handling.
It says in draft 9 section 6.5 (iSCSI error
handling and recovery -> digest errors), that is the target receives a data
PDU (solicited or unsolicited) with header digest, it must silently discard the
PDU. My question is how can the target recover from this??
The problem is that there is no way to know
the length of data payload after the header. Should the target
receive from the TCP socket 48 bytes of PDU header in loop , until the CRC
check is executed successfully ???
If yes, what happens if the data payload length is
not divided by 48 bytes (with no remainder) ? In this case, the CRC check will
never be executed successfully.
Thanks,
Amir Grimberg
|