When using compat GSO there is no need to turn on skb encapsulation bit since OVS does not use any tunnel GSO functionality from the networking stack.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org> --- datapath/linux/compat/ip_tunnels_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datapath/linux/compat/ip_tunnels_core.c b/datapath/linux/compat/ip_tunnels_core.c index d1fe20f..bf71b02 100644 --- a/datapath/linux/compat/ip_tunnels_core.c +++ b/datapath/linux/compat/ip_tunnels_core.c @@ -123,7 +123,9 @@ int ovs_iptunnel_handle_offloads(struct sk_buff *skb, * on the outer header without confusing devices that implement * NETIF_F_IP_CSUM with encapsulation. */ +#ifdef USE_UPSTREAM_TUNNEL_GSO if (csum_help) +#endif skb->encapsulation = 0; if (skb->ip_summed == CHECKSUM_PARTIAL && csum_help) { -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev