]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Correct goto target for tx irq initialization failure
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Tue, 20 Feb 2018 17:04:18 +0000 (11:04 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 20:35:18 +0000 (15:35 -0500)
commit0f474f0af7aaf6add7875c6ba8679e51a8c2beea
tree43f52a8e04c904936f2f71e68df0e3654ea6a5be
parent2e46e5ed48a6e0fbe772603fb4afe08da6a7e039
ibmvnic: Correct goto target for tx irq initialization failure

When a failure occurs during initialization of the tx sub crq
irqs, we should branch to the cleanup of the tx irqs. The current
code branches to the rx irq cleanup and attempts to cleanup the
rx irqs which have not been initialized.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c