commit | d1fdf24b4074a8d962f9a28519c99dcdd66bdee3 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Sun Jun 14 13:30:45 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sun Jun 14 13:30:45 2009 -0700 |
tree | ad9a3b623b5f7a23811f68ae95e100119b037635 | |
parent | 9aa0a489d909af0cc36c41d3061ef956c7442ce2 [diff] |
mlx4_core: 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. This is the same bug that was reported in ib_mthca by Yinghai Lu <yhlu.kernel@gmail.com>. Signed-off-by: Roland Dreier <rolandd@cisco.com>