Commit 21e2e7f9 authored by Edward Cree's avatar Edward Cree Committed by David S. Miller

net: enable LCO for udp_tunnel_handle_offloads() users

The only protocol affected at present is Geneve.
Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d75f1306
...@@ -103,7 +103,8 @@ static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb, ...@@ -103,7 +103,8 @@ static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb,
{ {
int type = udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; int type = udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL;
return iptunnel_handle_offloads(skb, udp_csum, type); /* As we're a UDP tunnel, we support LCO, so don't need csum_help */
return iptunnel_handle_offloads(skb, false, type);
} }
static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment