projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2876b7
)
ipvs: Pass ipvs not net to __ip_vs_get_dest_entries
author
Eric W. Biederman
<ebiederm@xmission.com>
Mon, 21 Sep 2015 18:02:04 +0000
(13:02 -0500)
committer
Simon Horman
<horms@verge.net.au>
Thu, 24 Sep 2015 00:34:36 +0000
(09:34 +0900)
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>
net/netfilter/ipvs/ip_vs_ctl.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_ctl.c
b/net/netfilter/ipvs/ip_vs_ctl.c
index 05f7e1d147381b082610b981fce4caec5553782c..6c06e9a8414d3dce22f7c1fd2d1374d08778156c 100644
(file)
--- a/
net/netfilter/ipvs/ip_vs_ctl.c
+++ b/
net/netfilter/ipvs/ip_vs_ctl.c
@@
-2528,10
+2528,9
@@
out:
}
static inline int
-__ip_vs_get_dest_entries(struct net
*net
, const struct ip_vs_get_dests *get,
+__ip_vs_get_dest_entries(struct net
ns_ipvs *ipvs
, const struct ip_vs_get_dests *get,
struct ip_vs_get_dests __user *uptr)
{
- struct netns_ipvs *ipvs = net_ipvs(net);
struct ip_vs_service *svc;
union nf_inet_addr addr = { .ip = get->addr };
int ret = 0;
@@
-2761,7
+2760,7
@@
do_ip_vs_get_ctl(struct sock *sk, int cmd, void __user *user, int *len)
ret = -EINVAL;
goto out;
}
- ret = __ip_vs_get_dest_entries(
net
, get, user);
+ ret = __ip_vs_get_dest_entries(
ipvs
, get, user);
}
break;