]> git.baikalelectronics.ru Git - kernel.git/commit
iscsi-target: Fix CmdSN comparison (use cmd->cmd_sn instead of cmd->stat_sn)
authorRoland Dreier <roland@purestorage.com>
Mon, 7 Jan 2013 19:45:16 +0000 (11:45 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Jan 2013 05:00:37 +0000 (21:00 -0800)
commit3a5ceec09d526830ed8a04b8809903b461713762
tree5bb4a5735dcc3e253f4cd047be4347b74a387422
parent95ade619eb20093628d2d25384f95639b2120428
iscsi-target: Fix CmdSN comparison (use cmd->cmd_sn instead of cmd->stat_sn)

Commit 50df140fc8d1 ("iscsi-target: Fix bug in handling of ExpStatSN
ACK during u32 wrap-around") introduced a bug where we compare the
wrong SN against our ExpCmdSN.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_erl2.c