From: Julian Anastasov Date: Thu, 12 Jun 2014 06:17:55 +0000 (+0300) Subject: ipvs: stop tot_stats estimator only under CONFIG_SYSCTL X-Git-Tag: omap-for-v3.16/fixes-rc4~53^2~31^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9802d21e7a0b0d2167ef745edc1f4ea7a0fc6ea3;p=pandora-kernel.git ipvs: stop tot_stats estimator only under CONFIG_SYSCTL The tot_stats estimator is started only when CONFIG_SYSCTL is defined. But it is stopped without checking CONFIG_SYSCTL. Fix the crash by moving ip_vs_stop_estimator into ip_vs_control_net_cleanup_sysctl. The change is needed after commit 14e405461e664b ("IPVS: Add __ip_vs_control_{init,cleanup}_sysctl()") from 2.6.39. Reported-by: Jet Chen Tested-by: Jet Chen Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- Reading git-diff-tree failed