ipvs: Store ipvs not net in struct ip_vs_sync_thread_data
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:02:14 +0000 (13:02 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:38 +0000 (09:34 +0900)
commit37b68e6ded49c0b7e7434a4ecd17c5553e576b4d
tree9a791d11d5d735b3b24f492421dd4d0026751e0e
parentfd124e2f8bb2ff94a1547a8f1d9741e7ffef1bbb
ipvs: Store ipvs not net in struct ip_vs_sync_thread_data

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 tinfo->net to access tinfo->ipvs->net 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>
net/netfilter/ipvs/ip_vs_sync.c