diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2018-09-18 16:58:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-19 05:13:27 +0200 |
commit | 774268f3e51b53ed432a1ec516574fd5ba469398 (patch) | |
tree | efe6cbb8e2633a870fb16e4257675f9a3f503599 /drivers/net/phy/sfp-bus.c | |
parent | Merge branch 'net-smc-fixes' (diff) | |
download | linux-774268f3e51b53ed432a1ec516574fd5ba469398.tar.xz linux-774268f3e51b53ed432a1ec516574fd5ba469398.zip |
net: mvpp2: fix a txq_done race condition
When no Tx IRQ is available, the txq_done() routine (called from
tx_done()) shouldn't be called from the polling function, as in such
case it is already called in the Tx path thanks to an hrtimer. This
mostly occurred when using PPv2.1, as the engine then do not have Tx
IRQs.
Fixes: edc660fa09e2 ("net: mvpp2: replace TX coalescing interrupts with hrtimer")
Reported-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/sfp-bus.c')
0 files changed, 0 insertions, 0 deletions