diff options
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 4919f9294e2a..80a11909159d 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -748,7 +748,7 @@ ip6ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev) | |||
748 | err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, | 748 | err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, |
749 | skb->dst->dev, dst_output); | 749 | skb->dst->dev, dst_output); |
750 | 750 | ||
751 | if (err == NET_XMIT_SUCCESS || err == NET_XMIT_CN) { | 751 | if (net_xmit_eval(err) == 0) { |
752 | stats->tx_bytes += pkt_len; | 752 | stats->tx_bytes += pkt_len; |
753 | stats->tx_packets++; | 753 | stats->tx_packets++; |
754 | } else { | 754 | } else { |