]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86f13adbb9ef76cd85702831d82ff1ee8d03b881
treea5c6ba5107e86018462af57a3ea9a29e82bd8033
parenteff29093b70a115eaaa4a5266483093a4761811d
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