Signed-off-by: Pravin B Shelar <pshe...@ovn.org> --- datapath/linux/compat/vxlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datapath/linux/compat/vxlan.c b/datapath/linux/compat/vxlan.c index 6d77527..836d96d 100644 --- a/datapath/linux/compat/vxlan.c +++ b/datapath/linux/compat/vxlan.c @@ -868,7 +868,7 @@ static int vxlan_build_skb(struct sk_buff *skb, struct dst_entry *dst, return -ENOMEM; type |= udp_sum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; - fix_segment = udp_sum ? ovs_udp_gso : ovs_udp_csum_gso; + fix_segment = !udp_sum ? ovs_udp_gso : ovs_udp_csum_gso; err = ovs_iptunnel_handle_offloads(skb, udp_sum, type, fix_segment); if (err) goto out_free; -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev