[PATCH 1/1] scsi_dh: fix boot oops with EMC Clariion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch to fix intermittent but frequent oops occurring with multiple
paths to Clariion at boot. 
Cause is uninitialized rq->flags variable which presents garbage from
clariion_activate.

Signed-off-by: Jerry Levy <levy_jerome@xxxxxxx>
---------------------
--- drivers/scsi/device_handler/scsi_dh_emc.orig        2008-10-13
13:33:35.000000000 -0400
+++ drivers/scsi/device_handler/scsi_dh_emc.c   2008-10-09
16:20:15.000000000 -0400
@@ -283,6 +283,7 @@
        memset(rq->cmd, 0, BLK_MAX_CDB);
        rq->cmd[0] = cmd;
        rq->cmd_len = COMMAND_SIZE(cmd);
+       rq->flags = 0;

        switch (cmd) {
        case MODE_SELECT:
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux