diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2017-03-09 17:48:23 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-09 18:31:28 -0800 |
commit | d7aba644ffdebf756e51e26a2229055211838e89 (patch) | |
tree | 9ac9dc570d687521034a18d2102157fa34603a1e /lib/dynamic_debug.c | |
parent | 6fc166d62c6f9f6eda5ea300f671d34e89bdd3c8 (diff) |
amd-xgbe: Enable IRQs only if napi_complete_done() is true
Depending on the hardware, the amd-xgbe driver may use disable_irq_nosync()
and enable_irq() when an interrupt is received to process Rx packets. If
the napi_complete_done() return value isn't checked an unbalanced enable
for the IRQ could result, generating a warning stack trace.
Update the driver to only enable interrupts if napi_complete_done() returns
true.
Reported-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions