]> 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)
commit3222cc828df60bd11df47006c88cbe4677d81fa4
tree6844467a4be67dcc20519696ec9cee87556d779a
parentd0db003aa12a845be147dea57a977d5ed321e5cd
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