diff options
author | Edward Cree <ecree@solarflare.com> | 2016-02-11 21:02:31 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-12 10:52:16 (GMT) |
commit | 6fa79666e24d32be1b709f5269af41ed9e829e7e (patch) | |
tree | a036f4cb7aa914ac62160c831937fc7b565e31f6 /include/net/udp_tunnel.h | |
parent | 53936107ba2462f714bae19a754f3ebf69a11e40 (diff) | |
download | linux-6fa79666e24d32be1b709f5269af41ed9e829e7e.tar.xz |
net: ip_tunnel: remove 'csum_help' argument to iptunnel_handle_offloads
All users now pass false, so we can remove it, and remove the code that
was conditional upon it.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/udp_tunnel.h')
-rw-r--r-- | include/net/udp_tunnel.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/udp_tunnel.h b/include/net/udp_tunnel.h index 734c156..97f5adb 100644 --- a/include/net/udp_tunnel.h +++ b/include/net/udp_tunnel.h @@ -103,8 +103,7 @@ 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; - /* As we're a UDP tunnel, we support LCO, so don't need csum_help */ - return iptunnel_handle_offloads(skb, false, type); + return iptunnel_handle_offloads(skb, type); } static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) |