Skip to content
Commit 9aa0a489 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Don't double-free IRQs when falling back from MSI-X to INTx



When both MSI-X and legacy INTx fail to generate an interrupt, the
driver frees the MSI-X interrupts twice.  Fix this by clearing the
have_irq flag for the MSI-X interrupts when they are freed the first
time.

Reported-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Tested-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent c1f67a88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment