From: Brian King Date: Fri, 14 Nov 2008 19:33:50 +0000 (-0600) Subject: [SCSI] ibmvfc: Fix oops in interrupt handler X-Git-Tag: v2.6.29-rc1~555^2~80 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4081b77c3a86151d2eaeed9d568a34dd0982ed52;p=linux-2.6-omap-h63xx.git [SCSI] ibmvfc: Fix oops in interrupt handler Fixes an oops that can occur in the interrupt handler if we get a lot of async events. Signed-off-by: Brian King Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c index 9fead7f19e2..eb79f755dad 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.c +++ b/drivers/scsi/ibmvscsi/ibmvfc.c @@ -2721,7 +2721,7 @@ static irqreturn_t ibmvfc_interrupt(int irq, void *dev_instance) } else if ((async = ibmvfc_next_async_crq(vhost)) != NULL) { vio_disable_interrupts(vdev); ibmvfc_handle_async(async, vhost); - crq->valid = 0; + async->valid = 0; } else done = 1; }