Re: [PATCH net-next] alx: fix error handling in __alx_open

2016-09-15 Thread David Miller
From: Tobias Regnery Date: Tue, 13 Sep 2016 12:06:57 +0200 > In commit 9ee7b683ea63 we moved the enablement of msi interrupts earlier in > alx_init_intr. If there is an error in alx_alloc_rings, __alx_open returns > with an error but msi (or msi-x) interrupts stays enabled. Add a new error > labe

[PATCH net-next] alx: fix error handling in __alx_open

2016-09-13 Thread Tobias Regnery
In commit 9ee7b683ea63 we moved the enablement of msi interrupts earlier in alx_init_intr. If there is an error in alx_alloc_rings, __alx_open returns with an error but msi (or msi-x) interrupts stays enabled. Add a new error label to disable msi (or msi-x) interrupts. Fixes: 9ee7b683ea63 ("alx: r