Eli Cooper ae148b0858 ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()
This patch updates skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit() when an
IPv6 header is installed to a socket buffer.

This is not a cosmetic change.  Without updating this value, GSO packets
transmitted through an ipip6 tunnel have the protocol of ETH_P_IP and
skb_mac_gso_segment() will attempt to call gso_segment() for IPv4,
which results in the packets being dropped.

Fixes: b8921ca83eed ("ip4ip6: Support for GSO/GRO")
Signed-off-by: Eli Cooper <elicooper@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-29 14:49:31 -04:00
..
2016-09-01 14:09:01 -07:00
2015-08-25 13:37:31 -07:00
2015-05-28 11:23:20 +08:00
2016-09-10 23:12:51 -07:00
2016-10-20 14:32:22 -04:00
2016-05-31 14:07:49 -07:00
2016-09-10 23:12:52 -07:00
2016-06-27 15:06:17 -04:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2016-08-23 23:23:50 -07:00
2016-10-26 17:33:22 -04:00
2016-09-21 10:09:14 +02:00
2016-09-21 10:09:14 +02:00