diff options
author | Simon Horman <horms@verge.net.au> | 2008-08-27 15:11:37 +1000 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-08-27 15:11:37 +1000 |
commit | 7fd106785104fa19709fa136abb64c7a9d5db285 (patch) | |
tree | 6002ff3d19af60a5d56faad0276da52fb03174b1 /net/ipv4/ipvs/ip_vs_core.c | |
parent | a4356b2920fd4861dd6c75f558749fa5c38a00e8 (diff) | |
parent | e3c2ced8d21410e8bc897480081e2ffc516c0f70 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/lvs-2.6 into lvs-next-2.6
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_core.c')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_core.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c index a7879eafc3b..9fbf0a6d739 100644 --- a/net/ipv4/ipvs/ip_vs_core.c +++ b/net/ipv4/ipvs/ip_vs_core.c @@ -1070,10 +1070,12 @@ static int __init ip_vs_init(void) { int ret; + ip_vs_estimator_init(); + ret = ip_vs_control_init(); if (ret < 0) { IP_VS_ERR("can't setup control.\n"); - goto cleanup_nothing; + goto cleanup_estimator; } ip_vs_protocol_init(); @@ -1106,7 +1108,8 @@ static int __init ip_vs_init(void) cleanup_protocol: ip_vs_protocol_cleanup(); ip_vs_control_cleanup(); - cleanup_nothing: + cleanup_estimator: + ip_vs_estimator_cleanup(); return ret; } @@ -1117,6 +1120,7 @@ static void __exit ip_vs_cleanup(void) ip_vs_app_cleanup(); ip_vs_protocol_cleanup(); ip_vs_control_cleanup(); + ip_vs_estimator_cleanup(); IP_VS_INFO("ipvs unloaded.\n"); } |