aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/ipip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h
index a32654d52730..a93cf6d7e94b 100644
--- a/include/net/ipip.h
+++ b/include/net/ipip.h
@@ -54,8 +54,10 @@ struct ip_tunnel_prl_entry {
54 \ 54 \
55 err = ip_local_out(skb); \ 55 err = ip_local_out(skb); \
56 if (likely(net_xmit_eval(err) == 0)) { \ 56 if (likely(net_xmit_eval(err) == 0)) { \
57 u64_stats_update_begin(&(stats1)->syncp); \
57 (stats1)->tx_bytes += pkt_len; \ 58 (stats1)->tx_bytes += pkt_len; \
58 (stats1)->tx_packets++; \ 59 (stats1)->tx_packets++; \
60 u64_stats_update_end(&(stats1)->syncp); \
59 } else { \ 61 } else { \
60 (stats2)->tx_errors++; \ 62 (stats2)->tx_errors++; \
61 (stats2)->tx_aborted_errors++; \ 63 (stats2)->tx_aborted_errors++; \