aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipvs/ip_vs_est.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_est.c')
-rw-r--r--net/ipv4/ipvs/ip_vs_est.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ipvs/ip_vs_est.c b/net/ipv4/ipvs/ip_vs_est.c
index 7d68b80c4c19..efdd74e4fa28 100644
--- a/net/ipv4/ipvs/ip_vs_est.c
+++ b/net/ipv4/ipvs/ip_vs_est.c
@@ -146,9 +146,8 @@ int ip_vs_new_estimator(struct ip_vs_stats *stats)
146 write_lock_bh(&est_lock); 146 write_lock_bh(&est_lock);
147 est->next = est_list; 147 est->next = est_list;
148 if (est->next == NULL) { 148 if (est->next == NULL) {
149 init_timer(&est_timer); 149 setup_timer(&est_timer, estimation_timer, 0);
150 est_timer.expires = jiffies + 2*HZ; 150 est_timer.expires = jiffies + 2*HZ;
151 est_timer.function = estimation_timer;
152 add_timer(&est_timer); 151 add_timer(&est_timer);
153 } 152 }
154 est_list = est; 153 est_list = est;