Commit f12976c
ixgbe: fix AER error handling
[ Upstream commit 126db13fa0e6d05c9f94e0125f61e773bd5ab079 ]
Make sure that we free the IRQs in ixgbe_io_error_detected() when
responding to an PCIe AER error and also restore them when the
interface recovers from it.
Previously it was possible to trigger BUG_ON() check in free_msix_irqs()
in the case where we call ixgbe_remove() after a failed recovery from
AER error because the interrupts were not freed.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 865fe71 commit f12976c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9221 | 9221 | | |
9222 | 9222 | | |
9223 | 9223 | | |
9224 | | - | |
| 9224 | + | |
9225 | 9225 | | |
9226 | 9226 | | |
9227 | 9227 | | |
| |||
9291 | 9291 | | |
9292 | 9292 | | |
9293 | 9293 | | |
| 9294 | + | |
9294 | 9295 | | |
9295 | | - | |
| 9296 | + | |
9296 | 9297 | | |
9297 | 9298 | | |
| 9299 | + | |
9298 | 9300 | | |
9299 | 9301 | | |
9300 | 9302 | | |
| |||
0 commit comments