summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorEli Cooper <elicooper@gmx.com>2016-10-26 10:11:09 +0800
committerDavid S. Miller <davem@davemloft.net>2016-10-29 14:49:31 -0400
commitae148b085876fa771d9ef2c05f85d4b4bf09ce0d (patch)
tree1691ca015efceff4d216dd2a217615d547b85b6b /drivers/net/ethernet
parent96a8eb1eeed2c3485cdba198fab3a2faaec386d3 (diff)
downloadop-kernel-dev-ae148b085876fa771d9ef2c05f85d4b4bf09ce0d.zip
op-kernel-dev-ae148b085876fa771d9ef2c05f85d4b4bf09ce0d.tar.gz
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>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud