aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/ipip.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2016-02-11 21:02:31 +0000
committerDavid S. Miller <davem@davemloft.net>2016-02-12 05:52:16 -0500
commit6fa79666e24d32be1b709f5269af41ed9e829e7e (patch)
treea036f4cb7aa914ac62160c831937fc7b565e31f6 /net/ipv4/ipip.c
parentnet: gre: Implement LCO for GRE over IPv4 (diff)
downloadwireguard-linux-6fa79666e24d32be1b709f5269af41ed9e829e7e.tar.xz
wireguard-linux-6fa79666e24d32be1b709f5269af41ed9e829e7e.zip
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 'net/ipv4/ipip.c')
-rw-r--r--net/ipv4/ipip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c
index 4044da61e747..6ec5b42fd172 100644
--- a/net/ipv4/ipip.c
+++ b/net/ipv4/ipip.c
@@ -219,7 +219,7 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev)
if (unlikely(skb->protocol != htons(ETH_P_IP)))
goto tx_error;
- skb = iptunnel_handle_offloads(skb, false, SKB_GSO_IPIP);
+ skb = iptunnel_handle_offloads(skb, SKB_GSO_IPIP);
if (IS_ERR(skb))
goto out;