[PATCH] mpt fusion: mptfc crash fixed

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

 



I found that if I interrupt a fibre channel link to cause a link state
change, the mptfc driver crashes. Patch follows:

diff -Nuar linux-2.6.30.vanilla/drivers/message/fusion/mptfc.c
linux-2.6.30.new/drivers/message/fusion/mptfc.c
--- linux-2.6.30.vanilla/drivers/message/fusion/mptfc.c	2009-06-09
20:05:27.000000000 -0700
+++ linux-2.6.30.new/drivers/message/fusion/mptfc.c	2009-06-10
18:23:08.000000000 -0700
@@ -1071,7 +1071,7 @@
 mptfc_link_status_change(struct work_struct *work)
 {
 	MPT_ADAPTER             *ioc =
-		container_of(work, MPT_ADAPTER, fc_rescan_work);
+		container_of(work, MPT_ADAPTER, fc_lsc_work);
 	int ii;

 	for (ii=0; ii < ioc->facts.NumberOfPorts; ii++)
--
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