Skip to content

Commit 721111b

Browse files
Dan Carpenterdavem330
authored andcommitted
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: 37149e9 ("gve: Implement packet continuation for RX.") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 68eabc3 commit 721111b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/google/gve/gve_rx.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,8 @@ static struct sk_buff *gve_rx_skb(struct gve_priv *priv, struct gve_rx_ring *rx,
500500
rx->rx_copied_pkt++;
501501
rx->rx_frag_copy_cnt++;
502502
rx->rx_copybreak_pkt++;
503-
} u64_stats_update_end(&rx->statss);
503+
u64_stats_update_end(&rx->statss);
504+
}
504505
} else {
505506
if (rx->data.raw_addressing) {
506507
int recycle = gve_rx_can_recycle_buffer(page_info);

0 commit comments

Comments
 (0)