Bart Van Assche
78d85019ba
[SCSI] libsrp: fix bug in ADDITIONAL CDB LENGTH interpretation
...
Fix a bug in the interpretation of the ADDITIONAL CDB LENGTH (add_cdb_len)
field of SRP_CMD requests. According to the SRP specification, the layout
of this single-byte field is as follows:
* Bits 0 and 1 are reserved.
* Bits 2 to 7 represent the ADDITIONAL CDB LENGTH field, symbolically
represented as n.
* Still according to the SRP specification, the ADDITIONAL CDB section
takes 4*n bytes.
Currently libsrp is only used by the ibmvscsi driver. Since the ibmvscsi
driver doesn't support large CDB's, this bug hasn't caused any problems yet.
[jejb: use & ~3 to mask the bits]
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-02-19 11:11:07 -06:00
..
2010-01-17 12:16:17 -06:00
2010-01-17 12:48:12 -06:00
2009-12-04 23:41:47 +01:00
2009-12-04 12:00:41 -06:00
2010-02-17 13:41:10 -06:00
2009-12-09 19:43:33 -08:00
2010-02-17 13:40:14 -06:00
2010-02-17 13:40:07 -06:00
2010-02-19 10:52:54 -06:00
2010-02-17 17:43:45 -06:00
2010-02-17 17:43:54 -06:00
2010-01-18 10:48:06 -06:00
2010-02-17 17:43:41 -06:00
2009-12-09 19:42:25 -08:00
2010-02-18 10:23:50 -06:00
2010-02-17 13:13:00 -06:00
2010-02-17 17:49:25 -06:00
2009-12-10 08:54:12 -06:00
2009-12-10 08:54:17 -06:00
2009-11-28 18:03:14 +01:00
2010-01-18 10:48:13 -06:00
2010-02-19 10:47:19 -06:00
2010-02-17 13:40:19 -06:00
2009-12-15 08:53:32 -08:00
2009-12-12 16:45:23 -06:00
2009-12-04 12:00:51 -06:00
2009-12-04 12:00:51 -06:00
2009-12-09 19:43:33 -08:00
2009-12-09 19:43:33 -08:00
2009-12-04 23:41:47 +01:00
2009-12-04 12:00:15 -06:00
2009-11-09 09:40:56 +01:00
2009-12-04 23:41:47 +01:00
2009-10-31 12:11:38 -07:00
2010-01-18 10:48:07 -06:00
2010-01-18 10:48:10 -06:00
2010-01-18 10:48:14 -06:00
2010-01-18 10:48:16 -06:00
2010-01-18 10:48:16 -06:00
2010-01-18 10:48:16 -06:00
2010-01-18 10:48:16 -06:00
2010-01-18 10:48:16 -06:00
2009-12-09 19:42:25 -08:00
2010-02-17 13:20:26 -06:00
2010-02-17 13:24:14 -06:00
2010-02-17 13:22:16 -06:00
2009-12-09 19:43:33 -08:00
2010-01-18 10:48:08 -06:00
2009-12-17 16:38:48 -08:00
2009-11-06 11:09:27 -06:00
2010-02-17 13:40:16 -06:00
2009-12-10 09:55:00 -06:00
2009-12-22 14:17:56 -08:00
2010-02-17 13:40:10 -06:00
2010-02-19 11:11:07 -06:00
2010-01-18 10:48:10 -06:00
2009-12-10 09:55:00 -06:00
2009-12-04 15:39:55 +01:00
2009-12-04 15:39:55 +01:00
2009-11-09 09:40:54 +01:00
2009-12-30 11:53:22 -06:00
2009-12-10 08:54:12 -06:00
2010-02-08 18:35:14 -06:00
2009-12-04 12:01:28 -06:00
2010-02-17 17:50:48 -06:00
2009-12-04 12:00:49 -06:00
2009-12-04 12:01:48 -06:00
2009-12-04 12:00:44 -06:00
2009-12-04 12:01:33 -06:00
2009-12-04 12:01:30 -06:00
2010-01-18 10:48:16 -06:00
2009-12-04 15:39:55 +01:00
2010-02-08 17:15:19 -06:00
2010-02-18 10:52:39 -06:00
2009-11-18 08:37:40 -08:00
2010-02-18 11:06:39 -06:00
2010-01-18 10:48:09 -06:00
2009-12-04 12:01:37 -06:00
2010-02-08 17:15:19 -06:00
2010-01-18 10:48:05 -06:00
2009-11-26 08:54:46 -06:00
2010-02-08 18:30:39 -06:00
2009-12-10 08:54:15 -06:00
2010-01-18 10:48:05 -06:00
2009-10-11 11:12:33 -07:00
2009-12-10 08:54:13 -06:00
2009-12-10 08:54:13 -06:00
2010-01-04 11:39:41 -06:00
2010-01-18 10:48:07 -06:00
2010-02-08 18:31:28 -06:00
2009-12-04 12:00:49 -06:00
2009-12-04 23:41:47 +01:00