commit | 9aa0a489d909af0cc36c41d3061ef956c7442ce2 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Sat Jun 13 15:14:09 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Jun 13 15:14:09 2009 -0700 |
tree | e973b5748c54060325ba1dd90ab0ce8ccdc66195 | |
parent | c1f67a88bf62fac0f4151c007b361199c2cd1988 [diff] |
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: Yinghai Lu <yhlu.kernel@gmail.com> Tested-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>