Skip to content

Commit

Permalink
datapath: compat: vxlan: fix udp-csum typo
Browse files Browse the repository at this point in the history
Signed-off-by: Pravin B Shelar <[email protected]>
Acked-by: Jesse Gross <[email protected]>
  • Loading branch information
pshelar committed Aug 3, 2016
1 parent dfe9994 commit db4b697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datapath/linux/compat/vxlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit db4b697

Please sign in to comment.