kernel_optimize_test/drivers/scsi/ibmvscsi
Brian King 64b840dd88 [SCSI] ibmvfc: Fix DMA mapping leak on memory allocation failure
There is currently a DMA mapping leak that can occur in the ibmvfc
driver if we fail to allocate a scatterlist. Fix this by unmapping
the scatterlist in the failure path. Additionally, only log an error
for a scatterlist allocation failure if the log level is greater
than the default, since this can occur when running Active Memory
Sharing and this is not considered an error.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-01-25 08:14:53 -06:00
..
ibmvfc.c [SCSI] ibmvfc: Fix DMA mapping leak on memory allocation failure 2009-01-25 08:14:53 -06:00
ibmvfc.h powerpc: Cleanup from l64 to ll64 change drivers/scsi 2009-01-16 16:15:10 +11:00
ibmvscsi.c powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
ibmvscsi.h ibmvscsi: driver enablement for CMO 2008-07-25 15:44:44 +10:00
ibmvstgt.c [SCSI] ibmvstgt: move crq_queue_create to the end of initialization 2008-12-09 09:45:30 -06:00
iseries_vscsi.c [SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel 2007-10-12 14:49:26 -04:00
Makefile [SCSI] ibmvfc: IBM Power Virtual Fibre Channel Adapter Client Driver 2008-07-12 08:22:32 -05:00
rpa_vscsi.c dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
viosrp.h [SCSI] ibmvscsi: Non SCSI error status fixup 2008-05-27 11:10:57 -05:00