iscsi-target: Reject unsupported multi PDU text command sequence
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Nov 2013 22:33:24 +0000 (14:33 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Nov 2013 22:33:24 +0000 (14:33 -0800)
This patch adds a check to reject text commands with F_BIT=0 ||
C_BIT=1, as multi PDU text command sequences are currently
unsupported.

This avoids the case where a text command received with F_BIT=0,
was generating a text response with F_BIT=1 which is a protocol
error according to RFC-3720 Section 10.11.1.

Reported-by: Arshad Hussain <arshad.hussain@calsoftinc.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found