]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe353eb73b1f91a0c2e5a06d609d4488ef271c8a
tree9a791d11d5d735b3b24f492421dd4d0026751e0e
parentad32bb5a4c8155cd8682122e655de1ea10aa50d0
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