From: Brian King Date: Fri, 14 Nov 2008 19:33:50 +0000 (-0600) Subject: [SCSI] ibmvfc: Fix oops in interrupt handler X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4081b77c3a86151d2eaeed9d568a34dd0982ed52;p=linux-beck.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 9fead7f19e22..eb79f755dad0 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; }