Miquel van Smoorenburg
df81d2371a
[SCSI] dpt_i2o: fix transferred data length for scsi_set_resid()
...
dpt_i2o.c::adpt_i2o_to_scsi() reads the value at (reply+5) which
should contain the length in bytes of the transferred data. This
would be correct if reply was a u32 *. However it is a void * here,
so we need to read the value at (reply+20) instead.
The value at (reply+5) is usually 0xff0000, which is apparently
'large enough' and didn't cause any trouble until 2.6.27 where
commit 427e59f09fdba387547106de7bab980b7fff77be
Author: James Bottomley <James.Bottomley@HansenPartnership.com>
Date: Sat Mar 8 18:24:17 2008 -0600
[SCSI] make use of the residue value
caused this to become visible through e.g. iostat -x .
Signed-off-by: Miquel van Smoorenburg <mikevs@xs4all.net>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-11-15 11:10:14 -06:00
..
2008-10-09 08:56:13 +02:00
2008-10-23 11:42:16 -05:00
2006-06-30 19:25:36 +02:00
2008-07-27 10:31:49 -04:00
2008-10-20 08:52:42 -07:00
2008-08-07 09:55:48 +01:00
2008-10-23 11:42:11 -05:00
2008-08-23 12:14:12 -07:00
2008-10-13 09:28:48 -04:00
2008-10-10 10:52:45 -07:00
2008-10-13 09:28:57 -04:00
2008-11-01 09:49:46 -07:00
2008-10-13 14:12:40 -07:00
2008-11-05 12:42:29 -05:00
2008-10-13 09:28:59 -04:00
2008-10-09 08:56:13 +02:00
2008-01-11 18:22:30 -06:00
2008-10-23 11:42:18 -05:00
2008-07-26 15:15:00 -04:00
2008-10-23 11:42:17 -05:00
2007-01-06 09:18:00 -06:00
2008-05-02 10:18:22 -05:00
2007-06-17 16:15:56 -05:00
2008-07-15 14:30:56 -07:00
2007-06-17 16:09:29 -05:00
2008-04-07 12:19:07 -05:00
2006-09-12 17:12:31 -05:00
2008-04-07 12:19:01 -05:00
2006-09-12 17:12:31 -05:00
2007-10-12 14:41:00 -04:00
2008-07-27 10:31:49 -04:00
2008-10-16 16:52:06 +02:00
2007-08-04 09:11:06 -05:00
2008-04-27 12:19:55 -05:00
2008-01-30 13:14:02 -06:00
2008-02-06 10:41:01 -08:00
2008-01-11 18:28:57 -06:00
2008-10-14 10:23:27 -07:00
2007-05-04 17:59:05 -07:00
2008-05-23 08:11:07 -07:00
2008-04-07 12:15:44 -05:00
2008-04-07 12:15:44 -05:00
2007-10-12 14:41:00 -04:00
2008-10-16 09:24:44 -07:00
2008-10-13 09:28:48 -04:00
2008-04-07 12:15:40 -05:00
2006-09-26 11:35:32 -07:00
2008-11-15 11:10:14 -06:00
2008-05-08 10:46:56 -07:00
2007-11-25 12:19:26 +02:00
2007-03-20 11:27:03 -05:00
2008-04-07 12:15:40 -05:00
2008-04-25 09:52:30 -05:00
2008-07-15 18:58:04 -07:00
2008-08-29 02:13:10 -07:00
2008-01-11 18:22:35 -06:00
2008-10-17 23:07:38 +02:00
2008-04-27 12:19:55 -05:00
2007-11-25 12:19:26 +02:00
2006-06-30 19:25:36 +02:00
2008-10-09 08:56:13 +02:00
2008-10-09 08:56:13 +02:00
2008-10-09 08:56:13 +02:00
2008-10-09 08:56:13 +02:00
2008-04-07 12:19:07 -05:00
2006-09-12 17:12:31 -05:00
2008-10-03 11:46:12 -05:00
2008-08-05 18:16:58 +02:00
2008-01-11 18:28:06 -06:00
2008-01-30 13:14:02 -06:00
2008-10-21 07:48:46 -04:00
2008-07-27 10:31:49 -04:00
2006-10-04 03:38:54 -04:00
2008-01-11 18:22:36 -06:00
2008-05-02 10:18:22 -05:00
2007-05-22 11:08:56 -05:00
2008-10-23 13:02:03 -07:00
2008-07-27 10:31:49 -04:00
2008-10-09 08:56:13 +02:00
2008-08-23 12:14:12 -07:00
2008-10-13 09:29:00 -04:00
2008-07-12 08:22:20 -05:00
2008-04-27 12:33:04 -05:00
2008-10-14 10:23:27 -07:00
2007-07-19 10:04:50 -07:00
2008-10-13 09:29:01 -04:00
2008-07-27 10:31:49 -04:00
2008-01-30 13:14:02 -06:00
2008-05-21 16:56:00 -07:00
2008-04-07 12:15:40 -05:00
2008-07-26 15:14:56 -04:00
2008-11-05 12:40:23 -05:00
2008-11-05 12:40:23 -05:00
2008-06-05 09:23:44 -05:00
2007-10-12 14:41:00 -04:00
2008-04-07 12:19:07 -05:00
2006-09-12 17:12:31 -05:00
2008-05-01 08:04:03 -07:00
2008-10-09 08:56:13 +02:00
2007-10-12 14:51:18 -04:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2007-10-12 14:55:07 -04:00
2007-10-12 14:41:00 -04:00
2007-07-19 10:04:50 -07:00
2008-07-27 10:31:49 -04:00
2008-08-23 12:14:12 -07:00
2008-08-23 12:14:12 -07:00
2008-10-16 09:24:44 -07:00
2007-10-12 14:50:55 -04:00
2007-11-25 12:19:26 +02:00
2008-07-27 10:31:49 -04:00
2006-10-04 03:38:54 -04:00
2008-04-07 12:19:02 -05:00
2008-10-09 08:56:13 +02:00
2007-10-23 12:35:35 -04:00
2007-10-22 21:19:53 +02:00
2006-10-25 15:11:55 -07:00
2008-01-30 13:14:02 -06:00
2006-10-17 19:28:51 -07:00
2008-10-11 12:39:35 -07:00
2008-08-29 02:14:46 -07:00
2008-04-19 19:10:33 -07:00
2008-07-27 10:31:49 -04:00
2008-07-27 10:31:49 -04:00
2008-11-05 12:48:23 -05:00
2008-10-21 07:47:28 -04:00
2007-07-14 19:28:10 -05:00
2008-10-23 11:42:16 -05:00
2006-06-30 19:25:36 +02:00
2008-10-23 11:42:17 -05:00
2008-10-13 09:28:52 -04:00
2008-10-03 11:46:12 -05:00
2008-04-19 19:10:33 -07:00
2008-10-13 09:28:46 -04:00
2007-07-18 11:16:32 -05:00
2008-10-10 10:53:26 -07:00
2008-07-02 15:06:25 -06:00
2008-10-10 10:53:26 -07:00
2008-07-27 10:31:49 -04:00
2006-05-20 00:39:08 -04:00
2007-10-12 14:46:58 -04:00
2008-10-13 09:28:47 -04:00
2008-10-13 09:28:59 -04:00
2008-07-27 10:31:49 -04:00
2008-10-13 09:28:52 -04:00
2007-10-12 14:38:09 -04:00
2008-04-19 19:10:33 -07:00
2006-06-10 16:24:40 -05:00
2006-10-11 13:44:25 -05:00
2008-10-13 09:28:46 -04:00
2006-08-19 13:39:11 -07:00
2008-01-11 18:22:40 -06:00
2008-10-13 09:28:58 -04:00
2008-10-23 13:02:03 -07:00
2008-10-15 08:41:28 -04:00
2008-07-30 10:21:56 -05:00
2008-11-01 09:49:46 -07:00
2008-04-27 12:33:04 -05:00
2007-07-22 11:36:49 -07:00
2008-04-27 12:33:04 -05:00
2008-02-07 18:02:44 -06:00
2008-10-20 08:52:41 -07:00
2008-10-21 07:48:50 -04:00
2008-02-07 18:02:44 -06:00
2008-04-07 12:15:39 -05:00
2008-10-21 07:47:28 -04:00
2008-04-07 12:15:39 -05:00
2008-07-26 15:14:49 -04:00
2008-01-11 18:28:57 -06:00
2008-04-16 09:28:11 -05:00
2007-11-25 12:19:26 +02:00
2006-12-09 09:41:18 -08:00
2008-10-23 11:42:19 -05:00
2008-08-31 01:23:17 -07:00
2008-02-12 15:24:58 -06:00
2007-11-25 12:19:26 +02:00
2006-11-15 16:43:50 -06:00
2008-10-03 11:46:12 -05:00
2007-07-14 18:56:33 -05:00
2008-05-02 13:18:06 -05:00
2008-04-28 17:31:13 -07:00
2006-09-07 12:39:34 -05:00
2008-04-07 12:19:01 -05:00
2007-10-19 23:22:55 +02:00
2008-07-27 10:31:49 -04:00
2008-07-27 10:31:49 -04:00
2007-11-29 09:24:52 -08:00