mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
net: gemini: Fix copy/paste error
[ Upstream commit 07093b7647 ]
The TX stats should be started with the tx_stats_syncp,
there seems to be a copy/paste error in the driver.
Signed-off-by: Andreas Fiedler <andreas.fiedler@gmx.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b24a813e79
commit
cfbee9e96d
@@ -661,7 +661,7 @@ static void gmac_clean_txq(struct net_device *netdev, struct gmac_txq *txq,
|
||||
|
||||
u64_stats_update_begin(&port->tx_stats_syncp);
|
||||
port->tx_frag_stats[nfrags]++;
|
||||
u64_stats_update_end(&port->ir_stats_syncp);
|
||||
u64_stats_update_end(&port->tx_stats_syncp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user