ipv6: Don't reset inner headers in ip6_tnl_xmit
authorTom Herbert <tom@herbertland.com>
Wed, 18 May 2016 16:06:24 +0000 (09:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2016 22:03:17 +0000 (18:03 -0400)
commit3ee93eaf2bbfbe0083f71a18a265d48adbd5bb27
tree2676cf613cb92be36942e63bb7880b78432d6a59
parentb8921ca83eed2496108ee308e9a41c5084089680
ipv6: Don't reset inner headers in ip6_tnl_xmit

Since iptunnel_handle_offloads() is called in all paths we can
probably drop the block in ip6_tnl_xmit that was checking for
skb->encapsulation and resetting the inner headers.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c