ip6_vti: simplify stats handling in vti6_xmit
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sat, 18 Aug 2018 14:43:48 +0000 (22:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Aug 2018 20:46:54 +0000 (13:46 -0700)
commitbb107456ba5a85e50567d56b0c8050c2ad199e9b
tree8f7e6dbebebdd52027025a535b802922dd684b46
parent6e3bf9b04f79a009a7ff336ba7353ab565daaec8
ip6_vti: simplify stats handling in vti6_xmit

Same as ip_vti, use iptunnel_xmit_stats to updates stats in tunnel xmit
code path.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_vti.c