]> git.baikalelectronics.ru Git - kernel.git/commit
udptunnel: Add SKB_GSO_UDP_TUNNEL during gro_complete.
authorJesse Gross <jesse@nicira.com>
Mon, 10 Nov 2014 19:45:13 +0000 (11:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Nov 2014 20:09:45 +0000 (15:09 -0500)
commit7d3a614c445bb4032dd75d33e3be726534a8a9be
tree6844467a4be67dcc20519696ec9cee87556d779a
parent4592ce657a914c1c5d4c6858180e465de2728fa5
udptunnel: Add SKB_GSO_UDP_TUNNEL during gro_complete.

When doing GRO processing for UDP tunnels, we never add
SKB_GSO_UDP_TUNNEL to gso_type - only the type of the inner protocol
is added (such as SKB_GSO_TCPV4). The result is that if the packet is
later resegmented we will do GSO but not treat it as a tunnel. This
results in UDP fragmentation of the outer header instead of (i.e.) TCP
segmentation of the inner header as was originally on the wire.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/udp_tunnel.h
net/ipv4/fou.c