Hannes Reinecke
cfde3fa166
[SCSI] scsi_dh_alua: Fix Erroneous TPG ID check
...
For Target Portal Group IDs occupying the full 2 bytes in the
RTPG response, the following group_id check in the alua_rtpg
routine always fails in scsi_dh_alua.c:
if (h->group_id == (ucp[2] << 8) + ucp[3]) {
This causes the ALUA handler to wrongly identify the AAS of
a specified device as well as incorrectly interpreting the
supported AAS of the target as seen by the following entries
in the /var/log/messages:
"alua: port group 3ea state A supports tousna"
"alua: port group 3e9 state A supports tousna"
This is because 'ucp' is wrongly declared in alua_rtpg as
a character pointer instead of an unsigned character pointer.
Signed-off-by: Martin George <marting@netapp.com >
Signed-off-by: Hannes Reinecke <hare@suse.de >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2011-08-30 12:32:41 -07:00
..
2011-05-26 13:19:00 -07:00
2011-05-10 10:16:21 +02:00
2011-03-31 11:26:23 -03:00
2011-05-24 13:08:39 -04:00
2011-05-01 16:32:23 -05:00
2011-03-31 11:26:23 -03:00
2011-08-29 00:16:18 -07:00
2011-07-27 14:59:02 +04:00
2011-08-29 00:16:19 -07:00
2011-08-27 08:36:14 -06:00
2011-08-27 08:36:14 -06:00
2011-08-30 12:32:41 -07:00
2011-07-26 16:49:47 -07:00
2011-08-27 08:35:46 -06:00
2011-06-29 16:05:41 -05:00
2011-06-29 12:08:39 -05:00
2011-08-27 08:35:13 -06:00
2011-07-28 12:13:36 +04:00
2011-08-30 12:13:46 -07:00
2011-08-29 00:16:19 -07:00
2011-07-27 15:45:22 +04:00
2011-08-27 08:35:21 -06:00
2011-08-27 08:35:13 -06:00
2011-01-24 12:06:31 -06:00
2011-05-24 13:28:35 -07:00
2011-08-27 08:35:13 -06:00
2011-08-29 00:14:57 -07:00
2011-08-27 08:36:54 -06:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-12-22 18:57:02 +01:00
2011-03-31 11:26:23 -03:00
2011-06-29 15:09:11 -05:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-06-29 15:11:21 -05:00
2011-06-29 15:11:21 -05:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-05-23 09:12:26 -07:00
2011-05-01 10:22:40 -05:00
2011-03-31 11:26:23 -03:00
2011-05-01 10:22:40 -05:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-05-01 10:22:40 -05:00
2011-05-01 10:22:40 -05:00
2011-05-23 09:12:26 -07:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-12-31 09:50:09 -06:00
2010-12-31 09:50:09 -06:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-17 11:07:01 +04:00
2011-08-26 12:52:39 -07:00
2011-07-27 15:18:26 +04:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-05-26 13:19:00 -07:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-08-27 08:35:55 -06:00
2011-05-01 12:10:34 -05:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-06-29 16:43:06 -05:00
2011-08-27 08:36:14 -06:00
2011-02-24 12:41:10 -05:00
2011-08-27 08:37:00 -06:00
2011-06-29 16:43:10 -05:00
2011-08-27 08:36:19 -06:00
2010-11-16 13:33:23 -08:00
2011-06-29 15:12:43 -05:00
2011-08-27 08:36:58 -06:00
2011-05-01 10:22:40 -05:00
2011-03-31 11:26:23 -03:00
2011-05-01 10:22:40 -05:00
2011-08-27 08:36:58 -06:00
2011-08-27 08:36:58 -06:00
2011-05-01 10:22:40 -05:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-05-10 10:16:21 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-24 13:09:41 -04:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-07-27 17:26:21 +04:00
2011-05-26 13:19:00 -07:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-05-01 10:22:40 -05:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-05-18 12:32:23 -06:00
2011-03-31 11:26:23 -03:00
2011-06-29 15:08:47 -05:00
2011-08-27 08:36:41 -06:00
2011-07-27 14:06:01 +04:00
2011-03-31 11:26:23 -03:00
2011-07-02 14:30:10 +02:00
2011-03-17 17:54:40 -07:00
2011-05-28 23:12:11 -07:00
2011-06-02 18:34:43 +09:00
2011-08-27 08:36:46 -06:00
2011-05-01 10:20:10 -05:00
2011-05-24 12:38:36 -04:00
2011-05-20 13:29:52 -07:00
2011-08-27 08:36:37 -06:00
2011-03-10 08:52:07 +01:00
2011-07-26 13:53:50 +04:00
2010-11-16 13:33:23 -08:00
2011-08-29 00:16:20 -07:00
2011-03-14 18:37:34 -05:00
2011-06-29 12:14:25 -05:00
2011-04-06 06:19:38 -07:00
2010-12-16 17:53:39 +01:00
2011-07-21 14:15:58 -07:00
2011-07-21 14:15:58 -07:00
2010-12-22 23:26:50 -06:00
2010-11-16 13:33:23 -08:00
2011-06-29 15:15:05 -05:00
2011-06-29 15:14:54 -05:00
2011-06-29 15:14:54 -05:00
2010-11-16 13:33:23 -08:00
2011-02-28 01:36:39 -07:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-05-01 10:22:40 -05:00
2011-05-01 10:22:40 -05:00
2011-05-24 13:25:35 -04:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-05-26 13:19:00 -07:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00