lkml.org 
[lkml]   [2015]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2 v2] Fixes for memory corruption in mpt2sas
Date
Hello all,

This patchset attempts to address problems we've been having with
panics due to memory corruption from the mpt2sas driver.

Thanks,
Calvin

Patches in this series:
[PATCH 1/2] mpt2sas: Refcount sas_device objects and fix unsafe list usage
[PATCH 2/2] mpt2sas: Refcount fw_events and fix unsafe list usage

Changes since v1:
* Squished patches 1-3 and 4-6 into two patches
* s/BUG_ON(!spin_is_locked/assert_spin_locked/g
* Use more succinct fuction names
* Store a pointer to the sas_device object in ->hostdata to eliminate
the need for several lookups on the lists.
* Remove the fw_event from fw_event_list at the start of
_firmware_event_work()
* Explicitly separate fw_event_list removal from fw_event freeing

Total diffstat:

drivers/scsi/mpt2sas/mpt2sas_base.h | 22 +-
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 535 +++++++++++++++++++++----------
drivers/scsi/mpt2sas/mpt2sas_transport.c | 12 +-
3 files changed, 396 insertions(+), 173 deletions(-)

Diff showing changes v1 => v2:
http://jcalvinowens.github.io/stuff/mpt2sas-patchset-v1v2.patch


\
 
 \ /
  Last update: 2015-07-12 06:41    [W:0.207 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site