From: Roland Dreier Date: Sun, 14 Jun 2009 20:30:45 +0000 (-0700) Subject: mlx4_core: Don't double-free IRQs when falling back from MSI-X to INTx X-Git-Tag: v2.6.31-rc1~336^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1fdf24b4074a8d962f9a28519c99dcdd66bdee3;p=pandora-kernel.git 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 . Signed-off-by: Roland Dreier --- Reading git-diff-tree failed