diff options
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index ffcb3b016843..98b30d08efe9 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -3452,6 +3452,7 @@ int __init ip_rt_init(void) | |||
3452 | 0, | 3452 | 0, |
3453 | &rt_hash_log, | 3453 | &rt_hash_log, |
3454 | &rt_hash_mask, | 3454 | &rt_hash_mask, |
3455 | 0, | ||
3455 | rhash_entries ? 0 : 512 * 1024); | 3456 | rhash_entries ? 0 : 512 * 1024); |
3456 | memset(rt_hash_table, 0, (rt_hash_mask + 1) * sizeof(struct rt_hash_bucket)); | 3457 | memset(rt_hash_table, 0, (rt_hash_mask + 1) * sizeof(struct rt_hash_bucket)); |
3457 | rt_hash_lock_init(); | 3458 | rt_hash_lock_init(); |