summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent2c9e8637ea15cf7f060b48f73b79e5055ffa93ad (diff)
downloadlinux-6b3d933000cbe539e5b234d639b083da60bb275c.tar.gz
linux-6b3d933000cbe539e5b234d639b083da60bb275c.tar.bz2
linux-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 'include')
-rw-r--r--include/net/ip_vs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index ff68cf288f9b..eb0bec043c96 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -69,8 +69,7 @@ struct ip_vs_iphdr {
};
static inline void *frag_safe_skb_hp(const struct sk_buff *skb, int offset,
- int len, void *buffer,
- const struct ip_vs_iphdr *ipvsh)
+ int len, void *buffer)
{
return skb_header_pointer(skb, offset, len, buffer);
}