[PATCH 1/1] iscsi class: Fix freeing of skb in get host error path

2014-08-03 Thread michaelc
From: Mike Christie If get_host_stats failes we are using kfree to free the skb. We should be using kfree_skb. This patch was made over Christoph's scsi-queue drivers-for-3.17 branch. Signed-off-by: Mike Christie --- drivers/scsi/scsi_transport_iscsi.c |2 +- 1 files changed, 1 insertions

[PATCH v2 2/18] arcmsr: Add code to support MSI-X, MSI interrupt

2014-08-03 Thread Ching Huang
From: Ching Huang Changes in v2 of 2/18: * remove the checking of capability of MSI-X, MSI. * correct the wrong IRQ vector of request_irq failed. * replace pci_enable_msi_range() by pci_enable_msi_exact(). Signed-off-by: Ching Huang --- Thanks for Dan's advice. diff -uprN a/drivers/scsi/arcm

Re: [PATCH v1.3 4/18] arcmsr: limit max. number of SCSI command request

2014-08-03 Thread Ching Huang
On Fri, 2014-08-01 at 05:35 -0700, Christoph Hellwig wrote: > > @@ -2220,8 +2220,7 @@ static int arcmsr_queue_command_lck(stru > > arcmsr_handle_virtual_command(acb, cmd); > > return 0; > > } > > - if (atomic_read(&acb->ccboutstandingcount) >= > > - A

Re: [PATCH] Save command pool address of Scsi_Host

2014-08-03 Thread Juergen Gross
On 08/01/2014 10:24 PM, James Bottomley wrote: On Fri, 2014-08-01 at 05:03 -0700, Christoph Hellwig wrote: On Fri, Aug 01, 2014 at 08:27:05AM +0200, jgr...@suse.com wrote: From: Juergen Gross If a scsi host driver specifies .cmd_len in it's scsi_host_template, a driver's private command pool

[PATCH V3] Save command pool address of Scsi_Host

2014-08-03 Thread jgross
From: Juergen Gross If a scsi host driver specifies .cmd_len in it's scsi_host_template, a driver's private command pool is needed. scsi_find_host_cmd_pool() will locate it, but scsi_alloc_host_cmd_pool() isn't saving the pool address in the host template. This will result in an access error whe