ip6_gre: Refactor ip6gre xmit codes
authorWilliam Tu <u9012063@gmail.com>
Thu, 30 Nov 2017 19:51:28 +0000 (11:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Dec 2017 20:33:26 +0000 (15:33 -0500)
commit898b29798e36019966839187fd58dacec16d7db6
tree6cd8e30e49d1cd9d434a74677e509e9540c8a36c
parenta3222dc95ca751cdc5f6ac3c9b092b160b73ed9f
ip6_gre: Refactor ip6gre xmit codes

This patch refactors the ip6gre_xmit_{ipv4, ipv6}.
It is a prep work to add the ip6erspan tunnel.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c