2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00

datapath: compat: vxlan: fix udp-csum typo

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
This commit is contained in:
Pravin B Shelar
2016-08-02 23:47:37 -07:00
parent dfe999407a
commit db4b6975c3

View File

@@ -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;