diff options
author | Julian Anastasov <ja@ssi.bg> | 2014-06-12 09:17:55 +0300 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-06-13 16:22:25 +0900 |
commit | 9802d21e7a0b0d2167ef745edc1f4ea7a0fc6ea3 (patch) | |
tree | 63d2e46b26f1913d3b913aaea37a482ae91b8a89 /lib/ioremap.c | |
parent | f44a5f45f544561302e855e7bd104e5f506ec01b (diff) |
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 <jet.chen@intel.com>
Tested-by: Jet Chen <jet.chen@intel.com>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions