datapath: Fix vxlan udp csum of gso packet
authorZang MingJie <zealot0630@gmail.com>
Mon, 23 Nov 2015 19:18:11 +0000 (11:18 -0800)
committerJesse Gross <jesse@kernel.org>
Mon, 23 Nov 2015 19:18:11 +0000 (11:18 -0800)
Signed-off-by: Zang MingJie <zealot0630@gmail.com>
Signed-off-by: Jesse Gross <jesse@kernel.org>
datapath/linux/compat/udp_tunnel.c

index a3223fd..19a1ea5 100644 (file)
@@ -133,7 +133,7 @@ void ovs_udp_csum_gso(struct sk_buff *skb)
        /* csum segment if tunnel sets skb with csum. The cleanest way
         * to do this just to set it up from scratch. */
        skb->ip_summed = CHECKSUM_NONE;
-       udp_set_csum(true, skb, iph->saddr, iph->daddr,
+       udp_set_csum(false, skb, iph->saddr, iph->daddr,
                     skb->len - udp_offset);
 }
 EXPORT_SYMBOL_GPL(ovs_udp_csum_gso);