From: Sven Wegener Date: Wed, 13 Aug 2008 22:47:16 +0000 (+0200) Subject: ipvs: Create init functions for estimator code X-Git-Tag: v2.6.28-rc1~717^2~282^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a919cf4b6b499416b6e2247dbc79196c4325f2e6;p=pandora-kernel.git ipvs: Create init functions for estimator code Commit 8ab19ea36c5c5340ff598e4d15fc084eb65671dc ("ipvs: Fix possible deadlock in estimator code") fixed a deadlock condition, but that condition can only happen during unload of IPVS, because during normal operation there is at least our global stats structure in the estimator list. The mod_timer() and del_timer_sync() calls are actually initialization and cleanup code in disguise. Let's make it explicit and move them to their own init and cleanup function. Signed-off-by: Sven Wegener Signed-off-by: Simon Horman --- Reading git-diff-tree failed