On Tue, 4 Sep 2007 16:03:51 -0400 Pete Wyckoff <pw at osc.edu> wrote: > Always zero out task->len for write commands. They do not send data > back to the initiator. For reads and bidirectional commands, the backing > store will set task->len to the read result size, which must be within > the size the initiator requested at the transport layer. > > Signed-off-by: Pete Wyckoff <pw at osc.edu> > --- > usr/iscsi/iscsid.c | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) Applied, thanks. |