summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2016-02-11 22:02:31 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-12 11:52:16 +0100
commit6fa79666e24d32be1b709f5269af41ed9e829e7e (patch)
treea036f4cb7aa914ac62160c831937fc7b565e31f6 /drivers/net/vxlan.c
parentnet: gre: Implement LCO for GRE over IPv4 (diff)
downloadlinux-6fa79666e24d32be1b709f5269af41ed9e829e7e.tar.xz
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 'drivers/net/vxlan.c')
-rw-r--r--drivers/net/vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 9f52203ac860..0a23c64379d6 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -1721,7 +1721,7 @@ static int vxlan_build_skb(struct sk_buff *skb, struct dst_entry *dst,
if (WARN_ON(!skb))
return -ENOMEM;
- skb = iptunnel_handle_offloads(skb, false, type);
+ skb = iptunnel_handle_offloads(skb, type);
if (IS_ERR(skb))
return PTR_ERR(skb);