diff options
author | John Allen <jallen@linux.vnet.ibm.com> | 2018-03-30 13:44:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-01 20:53:50 -0400 |
commit | 6095e590d277ecec54805c4999335406f08855fe (patch) | |
tree | 26e0e76ab981bfd608244d1cb63dee7d28786656 /drivers/net/ethernet/marvell/sky2.c | |
parent | net: sched: do not emit messages while holding spinlock (diff) | |
download | linux-dev-6095e590d277ecec54805c4999335406f08855fe.tar.xz linux-dev-6095e590d277ecec54805c4999335406f08855fe.zip |
ibmvnic: Disable irqs before exiting reset from closed state
When the driver is closed, all the associated irqs are disabled. In the
event that the driver exits a reset in the closed state, we should be
consistent with the state we are in directly after a close. So before we
exit the reset routine, all irqs should be disabled as well. This will
prevent the irqs from being enabled twice in this case and reporting a
number of noisy warning traces.
Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/sky2.c')
0 files changed, 0 insertions, 0 deletions