aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_conn.c
diff options
context:
space:
mode:
authorGao Feng <gfree.wind@vip.163.com>2017-11-13 22:58:18 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2018-01-08 18:01:02 +0100
commit6b3d933000cbe539e5b234d639b083da60bb275c (patch)
tree32cfb868ecf3578f564f6b2f9c6ea54c7960a5b6 /net/netfilter/ipvs/ip_vs_conn.c
parentnetfilter: conntrack: timeouts can be const (diff)
downloadlinux-dev-6b3d933000cbe539e5b234d639b083da60bb275c.tar.xz
linux-dev-6b3d933000cbe539e5b234d639b083da60bb275c.zip
netfilter: ipvs: Remove useless ipvsh param of frag_safe_skb_hp
The param of frag_safe_skb_hp, ipvsh, isn't used now. So remove it and update the callers' codes too. Signed-off-by: Gao Feng <gfree.wind@vip.163.com> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_conn.c')
-rw-r--r--net/netfilter/ipvs/ip_vs_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs/ip_vs_conn.c
index 3e053cb30070..f489b8db2406 100644
--- a/net/netfilter/ipvs/ip_vs_conn.c
+++ b/net/netfilter/ipvs/ip_vs_conn.c
@@ -322,7 +322,7 @@ ip_vs_conn_fill_param_proto(struct netns_ipvs *ipvs,
{
__be16 _ports[2], *pptr;
- pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports, iph);
+ pptr = frag_safe_skb_hp(skb, iph->len, sizeof(_ports), _ports);
if (pptr == NULL)
return 1;