ipvs: null check of net->ipvs in lblc(r) shedulers
authorHans Schillstrom <hans.schillstrom@ericsson.com>
Thu, 26 Apr 2012 07:45:34 +0000 (09:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Apr 2012 08:40:14 +0000 (10:40 +0200)
Avoid crash when registering shedulers after
the IPVS core initialization for netns fails. Do this by
checking for present core (net->ipvs).

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

No differences found