ipvs: add check in ftp for initialized core
authorJulian Anastasov <ja@ssi.bg>
Tue, 24 Apr 2012 21:29:59 +0000 (00:29 +0300)
committerSimon Horman <horms@verge.net.au>
Thu, 26 Apr 2012 06:26:35 +0000 (15:26 +0900)
Avoid crash when registering ip_vs_ftp after
the IPVS core initialization for netns fails. Do this by
checking for present core (net->ipvs).

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>

No differences found