udp: Set SKB_GSO_UDP_TUNNEL* in UDP GRO path
authorTom Herbert <therbert@google.com>
Wed, 11 Feb 2015 00:30:29 +0000 (16:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Feb 2015 23:12:10 +0000 (15:12 -0800)
commit6db93ea13b7937c0523ea1f977b322f1347a5633
tree05964d4c4fda83679ac32139dbf3859bbd24c8c1
parent6edec0e61b1e52f9144935d28c9088f5b202e61c
udp: Set SKB_GSO_UDP_TUNNEL* in UDP GRO path

Properly set GSO types and skb->encapsulation in the UDP tunnel GRO
complete so that packets are properly represented for GSO. This sets
SKB_GSO_UDP_TUNNEL or SKB_GSO_UDP_TUNNEL_CSUM depending on whether
non-zero checksums were received, and sets SKB_GSO_TUNNEL_REMCSUM if
the remote checksum option was processed.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp_offload.c
net/ipv6/udp_offload.c