HomeFreeBSD

Fix residual length reporting in target mode.

Description

Fix residual length reporting in target mode.

This allows to properly handle cases when target wants to receive or send
more data then initiator wants to send or receive. Previously in such
cases isp(4) returned CAM_DATA_RUN_ERR, while now it returns resid > 0.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS314298: MFC r313967:
Branches
Unknown
Tags
Unknown