aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/flow.c')
-rw-r--r--net/core/flow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/flow.c b/net/core/flow.c
index 6489f4e24ecf..46b38e06e0d7 100644
--- a/net/core/flow.c
+++ b/net/core/flow.c
@@ -352,8 +352,7 @@ static int __init flow_cache_init(void)
352 flow_lwm = 2 * flow_hash_size; 352 flow_lwm = 2 * flow_hash_size;
353 flow_hwm = 4 * flow_hash_size; 353 flow_hwm = 4 * flow_hash_size;
354 354
355 init_timer(&flow_hash_rnd_timer); 355 setup_timer(&flow_hash_rnd_timer, flow_cache_new_hashrnd, 0);
356 flow_hash_rnd_timer.function = flow_cache_new_hashrnd;
357 flow_hash_rnd_timer.expires = jiffies + FLOW_HASH_RND_PERIOD; 356 flow_hash_rnd_timer.expires = jiffies + FLOW_HASH_RND_PERIOD;
358 add_timer(&flow_hash_rnd_timer); 357 add_timer(&flow_hash_rnd_timer);
359 358