gve: fix unmatched u64_stats_update_end()
Subsystems (4)
PATCH 1/1 gve: fix unmatched u64_stats_update_end()
The u64_stats_update_end() call is supposed to be inside the curly braces so it pairs with the u64_stats_update_begin().
Fixes 37149e9374bf ("gve: Implement packet continuation for RX.")
Signed-off-by Dan Carpenter <[email protected]>
---
Based on the indenting. Not tested.
drivers/net/ethernet/google/gve/gve_rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/google/gve/gve_rx.c +2 -1
@@ -500,7 +500,8 @@ static struct sk_buff *gve_rx_skb(struct gve_priv *priv, struct gve_rx_ring *rx, rx->rx_copied_pkt++; rx->rx_frag_copy_cnt++; rx->rx_copybreak_pkt++; - }u64_stats_update_end (&rx->statss); +u64_stats_update_end (&rx->statss); + } }else {if (rx->data.raw_addressing) {int recycle =gve_rx_can_recycle_buffer (page_info);
Signature · 1 line
2.20.1
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 9 lines · On Wed, 10 Nov 2021 11:11:09 +0300 you wrote:
The
u64_stats_update_end()call is supposed to be inside the curly braces so it pairs with theu64_stats_update_begin().Fixes 37149e9374bf ("gve: Implement packet continuation for RX.")Signed-off-by Dan Carpenter <[email protected]>---
Based on the indenting. Not tested.[...]
Here is the summary with links:
- [net-next] gve: fix unmatched u64_stats_update_end()
https://git.kernel.org/netdev/net/c/721111b1b29c
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html