aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2016-02-11 16:02:31 -0500
committerDavid S. Miller <davem@davemloft.net>2016-02-12 05:52:16 -0500
commit6fa79666e24d32be1b709f5269af41ed9e829e7e (patch)
treea036f4cb7aa914ac62160c831937fc7b565e31f6 /net/netfilter
parent53936107ba2462f714bae19a754f3ebf69a11e40 (diff)
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/netfilter')
-rw-r--r--net/netfilter/ipvs/ip_vs_xmit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/netfilter/ipvs/ip_vs_xmit.c b/net/netfilter/ipvs/ip_vs_xmit.c
index 3264cb49b333..a3f5cd9b3c4c 100644
--- a/net/netfilter/ipvs/ip_vs_xmit.c
+++ b/net/netfilter/ipvs/ip_vs_xmit.c
@@ -1019,8 +1019,7 @@ ip_vs_tunnel_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
1019 if (IS_ERR(skb)) 1019 if (IS_ERR(skb))
1020 goto tx_error; 1020 goto tx_error;
1021 1021
1022 skb = iptunnel_handle_offloads( 1022 skb = iptunnel_handle_offloads(skb, __tun_gso_type_mask(AF_INET, cp->af));
1023 skb, false, __tun_gso_type_mask(AF_INET, cp->af));
1024 if (IS_ERR(skb)) 1023 if (IS_ERR(skb))
1025 goto tx_error; 1024 goto tx_error;
1026 1025
@@ -1112,8 +1111,7 @@ ip_vs_tunnel_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp,
1112 if (IS_ERR(skb)) 1111 if (IS_ERR(skb))
1113 goto tx_error; 1112 goto tx_error;
1114 1113
1115 skb = iptunnel_handle_offloads( 1114 skb = iptunnel_handle_offloads(skb, __tun_gso_type_mask(AF_INET6, cp->af));
1116 skb, false, __tun_gso_type_mask(AF_INET6, cp->af));
1117 if (IS_ERR(skb)) 1115 if (IS_ERR(skb))
1118 goto tx_error; 1116 goto tx_error;
1119 1117