]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0126bf1ca35373dd3e92c48f56b58f3122cb6046
treef96ef28f9d3ff364da1710f32ff44c31873fb714
parente943ebd4c91962df1901a4b7de4fe1d76bad1065
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