diff options
author | 2016-02-11 21:02:31 +0000 | |
---|---|---|
committer | 2016-02-12 05:52:16 -0500 | |
commit | 6fa79666e24d32be1b709f5269af41ed9e829e7e (patch) | |
tree | a036f4cb7aa914ac62160c831937fc7b565e31f6 /net/ipv6 | |
parent | net: gre: Implement LCO for GRE over IPv4 (diff) | |
download | linux-6fa79666e24d32be1b709f5269af41ed9e829e7e.tar.gz linux-6fa79666e24d32be1b709f5269af41ed9e829e7e.tar.bz2 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/ipv6')
-rw-r--r-- | net/ipv6/sit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 2066d1c25a11..9a6b407f5840 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -911,7 +911,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, goto tx_error; } - skb = iptunnel_handle_offloads(skb, false, SKB_GSO_SIT); + skb = iptunnel_handle_offloads(skb, SKB_GSO_SIT); if (IS_ERR(skb)) { ip_rt_put(rt); goto out; @@ -1000,7 +1000,7 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) struct ip_tunnel *tunnel = netdev_priv(dev); const struct iphdr *tiph = &tunnel->parms.iph; - skb = iptunnel_handle_offloads(skb, false, SKB_GSO_IPIP); + skb = iptunnel_handle_offloads(skb, SKB_GSO_IPIP); if (IS_ERR(skb)) goto out; |