diff options
author | Edward Cree <ecree@solarflare.com> | 2016-02-11 15:50:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-12 05:52:15 -0500 |
commit | 21e2e7f9b5fefdbf94a107a9b24d74baa5148ef3 (patch) | |
tree | b215a128c725268bf1ad64afac1a7a30cf45e1b7 /include/net | |
parent | d75f1306d9464d535007f05e5da0afcf9e3916d9 (diff) |
net: enable LCO for udp_tunnel_handle_offloads() users
The only protocol affected at present is Geneve.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/udp_tunnel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/udp_tunnel.h b/include/net/udp_tunnel.h index cca2ad3082c3..734c15662ea9 100644 --- a/include/net/udp_tunnel.h +++ b/include/net/udp_tunnel.h | |||
@@ -103,7 +103,8 @@ static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb, | |||
103 | { | 103 | { |
104 | int type = udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; | 104 | int type = udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; |
105 | 105 | ||
106 | return iptunnel_handle_offloads(skb, udp_csum, type); | 106 | /* As we're a UDP tunnel, we support LCO, so don't need csum_help */ |
107 | return iptunnel_handle_offloads(skb, false, type); | ||
107 | } | 108 | } |
108 | 109 | ||
109 | static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) | 110 | static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) |