ipv6: introduce ip6tunnel_xmit() helper
authorCong Wang <xiyou.wangcong@gmail.com>
Sat, 9 Mar 2013 23:00:39 +0000 (23:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Mar 2013 20:53:34 +0000 (16:53 -0400)
commite8f72ea4a1380eeca10a551bc8d678e7d4388d42
tree617c08e472d8f361de5a4d2198f0321e73285e17
parent22c352195ee09dcce9f4f0e2d4cd5f382b90f0fb
ipv6: introduce ip6tunnel_xmit() helper

Similar to iptunnel_xmit(), group these operations into a
helper function.

This by the way fixes the missing u64_stats_update_begin()
and u64_stats_update_end() for 32 bit arch.

Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Pravin B Shelar <pshelar@nicira.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_tunnel.h
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c