diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 6e2e3c957a315e36168f8c3207c2c85bed3c390a..c8c6e33d116340d8f1a902893c5e183d6ab118e2 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c @@ -1354,7 +1354,7 @@ int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg) static inline int ip6mr_forward2_finish(struct sk_buff *skb) { - /* XXX stats */ + IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_OUTFORWDATAGRAMS); return dst_output(skb); }