diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-06-14 13:30:45 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-06-14 13:30:45 -0700 |
commit | d1fdf24b4074a8d962f9a28519c99dcdd66bdee3 (patch) | |
tree | ad9a3b623b5f7a23811f68ae95e100119b037635 /drivers/net/pci-skeleton.c | |
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>
Diffstat (limited to 'drivers/net/pci-skeleton.c')
0 files changed, 0 insertions, 0 deletions