Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iscsi-command: fix unsolicited data-out length
the recent implementation allows to send iscsi->first_burst_length + iscsi->target_max_recv_data_segment_length bytes if immediate and unsolicited data-out is send and iscsi->target_max_recv_data_segment_length < iscsi->first_burst_length. RFC3720 defines the length as: Length=(min(FirstBurstLength, Expected Data Transfer Length) - Received Immediate Data Length). so that immediate data and unsolicited data-out are together FirstBurstLength at maximum. Signed-off-by: Peter Lieven <pl@kamp.de>
- Loading branch information