ipvs: reset ipvs pointer in netns
authorJulian Anastasov <ja@ssi.bg>
Tue, 24 Apr 2012 21:29:58 +0000 (00:29 +0300)
committerSimon Horman <horms@verge.net.au>
Thu, 26 Apr 2012 06:26:35 +0000 (15:26 +0900)
commit39f618b4fd95ae243d940ec64c961009c74e3333
treef96ef28f9d3ff364da1710f32ff44c31873fb714
parent8d08d71ce59438a6ef06be5db07966e0c144b74e
ipvs: reset ipvs pointer in netns

Make sure net->ipvs is reset on netns cleanup or failed
initialization. It is needed for IPVS applications to know that
IPVS core is not loaded in netns.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_core.c