udp: Offload outer UDP tunnel csum if available
authorTom Herbert <therbert@google.com>
Tue, 4 Nov 2014 17:06:52 +0000 (09:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 21:30:03 +0000 (16:30 -0500)
commit4bcb877d257c87298aedead1ffeaba0d5df1991d
tree00b616716253b6bed2510505e38f345b1a165efa
parent63487babf08d6d67483c67ed21d8cea6674a44ec
udp: Offload outer UDP tunnel csum if available

In __skb_udp_tunnel_segment if outer UDP checksums are enabled and
ip_summed is not already CHECKSUM_PARTIAL, set up checksum offload
if device features allow it.

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