Commit 721111b1 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller

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: 37149e93 ("gve: Implement packet continuation for RX.")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68eabc34
...@@ -500,7 +500,8 @@ static struct sk_buff *gve_rx_skb(struct gve_priv *priv, struct gve_rx_ring *rx, ...@@ -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_copied_pkt++;
rx->rx_frag_copy_cnt++; rx->rx_frag_copy_cnt++;
rx->rx_copybreak_pkt++; rx->rx_copybreak_pkt++;
} u64_stats_update_end(&rx->statss); u64_stats_update_end(&rx->statss);
}
} else { } else {
if (rx->data.raw_addressing) { if (rx->data.raw_addressing) {
int recycle = gve_rx_can_recycle_buffer(page_info); int recycle = gve_rx_can_recycle_buffer(page_info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment