aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ipip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ipip.h')
-rw-r--r--include/net/ipip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h
index 87acf8f3a15..0159221a850 100644
--- a/include/net/ipip.h
+++ b/include/net/ipip.h
@@ -42,9 +42,9 @@ struct ip_tunnel_prl_entry
42 ip_select_ident(iph, &rt->u.dst, NULL); \ 42 ip_select_ident(iph, &rt->u.dst, NULL); \
43 \ 43 \
44 err = ip_local_out(skb); \ 44 err = ip_local_out(skb); \
45 if (net_xmit_eval(err) == 0) { \ 45 if (likely(net_xmit_eval(err) == 0)) { \
46 stats->tx_bytes += pkt_len; \ 46 txq->tx_bytes += pkt_len; \
47 stats->tx_packets++; \ 47 txq->tx_packets++; \
48 } else { \ 48 } else { \
49 stats->tx_errors++; \ 49 stats->tx_errors++; \
50 stats->tx_aborted_errors++; \ 50 stats->tx_aborted_errors++; \