From: Mike Christie Date: Thu, 31 Jan 2008 19:36:53 +0000 (-0600) Subject: [SCSI] libiscsi: fix session age rollover and remove cid encoding X-Git-Tag: v2.6.25-rc1~285^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b1d03434ee44b08c57f50403eaeab099facebf5;p=pandora-kernel.git [SCSI] libiscsi: fix session age rollover and remove cid encoding The session age mask is only 4 bits, but session->age is 32. When it gets larger then 15 and we try to or the bits some bits get dropped and the check for session age in iscsi_verify_itt is useless. The ISCSI_CID_MASK related bits are also useless since cid is always one. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed