diff options
| author | Mike Christie <[email protected]> | 2008-01-31 13:36:53 -0600 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2008-02-07 18:02:37 -0600 |
| commit | 8b1d03434ee44b08c57f50403eaeab099facebf5 (patch) | |
| tree | 48d7c5aeb3b765284dcc3d8685ed6ea6aed350cb /include/linux | |
| parent | 322d739da83bbff0309c202181f79c08d9534880 (diff) | |
[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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions