From: Nicholas Bellinger Date: Mon, 18 Nov 2013 18:55:10 +0000 (-0800) Subject: iscsi-target: Do not reject non-immediate CmdSNs exceeding MaxCmdSN X-Git-Tag: v3.13-rc1~5^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea7e32bec1b9d9e5b159d80ceb563c702e28b02a;p=pandora-kernel.git iscsi-target: Do not reject non-immediate CmdSNs exceeding MaxCmdSN This patch changes iscsit_sequence_cmd() logic to no longer reject non-immediate CmdSNs that exceed MaxCmdSN with a protocol error, but instead silently ignore them. This is done to correctly follow RFC-3720 Section 3.2.2.1: For non-immediate commands, the CmdSN field can take any value from ExpCmdSN to MaxCmdSN inclusive. The target MUST silently ignore any non-immediate command outside of this range or non- immediate duplicates within the range. Reported-by: Santosh Kulkarni Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed