summaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-21 13:02:29 -0500
committerSimon Horman <horms@verge.net.au>2015-09-24 09:34:39 +0900
commit19648918fbf245ab2dda8c7842c9a83fd412ac35 (patch)
tree2d2d81579f077ca226483fb318eb23549578e5a5 /include/net/ip_vs.h
parenta4dd0360c623e5beac011f3674ff7e13b35b5b05 (diff)
downloadlinux-stable-19648918fbf245ab2dda8c7842c9a83fd412ac35.tar.gz
linux-stable-19648918fbf245ab2dda8c7842c9a83fd412ac35.tar.bz2
linux-stable-19648918fbf245ab2dda8c7842c9a83fd412ac35.zip
ipvs: Pass ipvs not net into register_app and unregister_app
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 02734eaae679..a7275ae18b96 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -517,9 +517,9 @@ struct ip_vs_protocol {
const struct sk_buff *skb,
struct ip_vs_proto_data *pd);
- int (*register_app)(struct net *net, struct ip_vs_app *inc);
+ int (*register_app)(struct netns_ipvs *ipvs, struct ip_vs_app *inc);
- void (*unregister_app)(struct net *net, struct ip_vs_app *inc);
+ void (*unregister_app)(struct netns_ipvs *ipvs, struct ip_vs_app *inc);
int (*app_conn_bind)(struct ip_vs_conn *cp);