ip_tunnel: Move stats update to iptunnel_xmit()
authorPravin B Shelar <pshelar@nicira.com>
Thu, 24 Dec 2015 22:34:54 +0000 (14:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Dec 2015 04:32:23 +0000 (23:32 -0500)
commit039f50629b7f860f36644ed1f34b27da9aa62f43
treea5c6ba5107e86018462af57a3ea9a29e82bd8033
parentd7d3e25f40e950bdcec6d94faf9346b7a7d6e4bb
ip_tunnel: Move stats update to iptunnel_xmit()

By moving stats update into iptunnel_xmit(), we can simplify
iptunnel_xmit() usage. With this change there is no need to
call another function (iptunnel_xmit_stats()) to update stats
in tunnel xmit code path.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/net/geneve.c
drivers/net/vxlan.c
include/net/ip6_tunnel.h
include/net/ip_tunnels.h
include/net/udp_tunnel.h
net/ipv4/ip_gre.c
net/ipv4/ip_tunnel.c
net/ipv4/ip_tunnel_core.c
net/ipv4/ip_vti.c
net/ipv4/udp_tunnel.c
net/ipv6/sit.c
net/tipc/udp_media.c