iscsi-target: Fix SNACK Type 1 + BegRun=0 handling
authorNicholas Bellinger <nab@linux-iscsi.org>
Mon, 3 Feb 2014 20:55:42 +0000 (12:55 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 12 Feb 2014 23:11:17 +0000 (15:11 -0800)
commit752d86805b18e58c56c6f3c7004c2dffd4430c17
treedede6ee8a09fe85f89adc5d627b694c6616cbb5a
parent6a16d7be932a9df1024836ccbb448de73afd3dd0
iscsi-target: Fix SNACK Type 1 + BegRun=0 handling

This patch fixes Status SNACK handling of BegRun=0 to allow
for all unacknowledged respones to be resent, instead of
always assuming that BegRun would be an explicit value less
than the current ExpStatSN.

Reported-by: santosh kulkarni <santosh.kulkarni@calsoftinc.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_erl1.c