summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_mqprio.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2019-12-06 14:28:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-18 16:05:42 +0100
commita22984689ca59550501392ff34cda62bf0c38df2 (patch)
tree1941878bb3aa097b3f8f54d8cb9aed9b1d097607 /net/sched/sch_mqprio.c
parent85578e67651d8d1eed19eba03f1d64ad239826d1 (diff)
downloadlinux-stable-a22984689ca59550501392ff34cda62bf0c38df2.tar.gz
linux-stable-a22984689ca59550501392ff34cda62bf0c38df2.tar.bz2
linux-stable-a22984689ca59550501392ff34cda62bf0c38df2.zip
net: ethernet: ti: cpsw: fix extra rx interrupt
[ Upstream commit 51302f77bedab8768b761ed1899c08f89af9e4e2 ] Now RX interrupt is triggered twice every time, because in cpsw_rx_interrupt() it is asked first and then disabled. So there will be pending interrupt always, when RX interrupt is enabled again in NAPI handler. Fix it by first disabling IRQ and then do ask. Fixes: 870915feabdc ("drivers: net: cpsw: remove disable_irq/enable_irq as irq can be masked from cpsw itself") Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched/sch_mqprio.c')
0 files changed, 0 insertions, 0 deletions