Skip to content

Commit db4b697

Browse files
committed
datapath: compat: vxlan: fix udp-csum typo
Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
1 parent dfe9994 commit db4b697

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datapath/linux/compat/vxlan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ static int vxlan_build_skb(struct sk_buff *skb, struct dst_entry *dst,
868868
return -ENOMEM;
869869

870870
type |= udp_sum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL;
871-
fix_segment = udp_sum ? ovs_udp_gso : ovs_udp_csum_gso;
871+
fix_segment = !udp_sum ? ovs_udp_gso : ovs_udp_csum_gso;
872872
err = ovs_iptunnel_handle_offloads(skb, udp_sum, type, fix_segment);
873873
if (err)
874874
goto out_free;

0 commit comments

Comments
 (0)