summaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-21 13:01:50 -0500
committerSimon Horman <horms@verge.net.au>2015-09-24 09:34:34 +0900
commit48aed1b029597d5f33316b1e978392fe30814f8d (patch)
tree42c95be2ce5ae84333aac1b0b2e41f684121087c /include/net/ip_vs.h
parent0a4fd6ce92460ec325f7e56813645e4308da170e (diff)
downloadlinux-48aed1b029597d5f33316b1e978392fe30814f8d.tar.gz
linux-48aed1b029597d5f33316b1e978392fe30814f8d.tar.bz2
linux-48aed1b029597d5f33316b1e978392fe30814f8d.zip
ipvs: Pass ipvs not net to ip_vs_has_real_service
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 828b19b23e02..b93ee28fb011 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -1413,7 +1413,7 @@ struct ip_vs_service *
ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol,
const union nf_inet_addr *vaddr, __be16 vport);
-bool ip_vs_has_real_service(struct net *net, int af, __u16 protocol,
+bool ip_vs_has_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol,
const union nf_inet_addr *daddr, __be16 dport);
int ip_vs_use_count_inc(void);