From: Mike Christie Date: Wed, 3 May 2006 00:46:47 +0000 (-0500) Subject: [SCSI] iscsi: increment expstatsn during login X-Git-Tag: v2.6.18-rc1~1092^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d2860b3c3e933304f49171770658c00ed26fd79;p=pandora-kernel.git [SCSI] iscsi: increment expstatsn during login debugged by Ming and Rohan: The problem Ming and Rohan debugged was that during a normal session login, open-iscsi is not incrementing the exp_statsn counter. It was stuck at zero. From the RFC, it looks like if the login response PDU has a successful status then we should be incrementing that value. Also from the RFC, it looks like if when we drop a connection then reconnect, we should be using the exp_statsn from the old connection in the next relogin attempt. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed