ipvs: Store ipvs not net in struct ip_vs_service
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:01:44 +0000 (13:01 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:33 +0000 (09:34 +0900)
commit3109d2f2d1fe068f1cc3b1f74f5022ab4aef52a7
treee3641b886509b166fbba1a68c28d77481bbd8210
parent19913dec1bc1d1aa5afe26db858507d4c3042665
ipvs: Store ipvs not net in struct ip_vs_service

In practice struct netns_ipvs is as meaningful as struct net and more
useful as it holds the ipvs specific data.  So store a pointer to
struct netns_ipvs.

Update the accesses of param->net to access param->ipvs->net instead.

In functions where we are searching for an svc and filtering by net
filter by ipvs instead.

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>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/ipvs/ip_vs_lblc.c
net/netfilter/ipvs/ip_vs_lblcr.c
This page took 0.026387 seconds and 5 git commands to generate.