linux-stable/drivers/scsi/megaraid
Ju, Seokmann c005fb4fb2 [SCSI] megaraid_{mm,mbox}: fix a bug in reset handler
When abort failed, the driver gets reset handleer called.  In the reset
handler, driver calls 'scsi_done()' callback for same SCSI command packet
(struct scsi_cmnd) multiple times if there are multiple SCSI command packet
in the pend_list.  More over, if there are entry in the pend_lsit with
IOCTL packet associated, the driver returns it to wrong free_list so that,
in turn, the driver could end up with 'NULL pointer dereference..' during
I/O command building with incorrect resource.

Also, the patch contains several minor/cosmetic changes besides this.

Signed-off-by: Seokmann Ju <seokmann.ju@lsil.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-04-27 14:08:53 -05:00
..
Kconfig.megaraid [SCSI] megaraid_{mbox,mm} : remove PCI Id overlaping between megaraid_legacy and megaraid_{mbox,mm} 2005-12-13 18:10:56 -07:00
Makefile [SCSI] MegaRAID SAS RAID: new driver 2005-09-26 17:32:44 -05:00
mbox_defs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mega_common.h Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
megaraid_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
megaraid_mbox.c [SCSI] megaraid_{mm,mbox}: fix a bug in reset handler 2006-04-27 14:08:53 -05:00
megaraid_mbox.h [SCSI] megaraid_{mm,mbox}: fix a bug in reset handler 2006-04-27 14:08:53 -05:00
megaraid_mm.c [SCSI] megaraid/megaraid_mm.c: fix a NULL pointer dereference 2006-04-19 20:32:00 -04:00
megaraid_mm.h [PATCH] don't include ioctl32.h in drivers 2006-01-10 08:01:34 -08:00
megaraid_sas.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-03-22 10:58:05 -08:00
megaraid_sas.h [SCSI] megaraid_sas: support for 1078 type controller added 2006-02-04 16:38:41 -06:00