aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-03 17:24:55 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 17:24:55 +0900
commit66fdc951720406deb3b0f17094cb16ec623f525d (patch)
tree24f0ea4cc5d563e4e11cb3bdeb0ca86dd28e8cb6 /net/ipv4/route.c
parentf425752fc66acf1d4e47970ea704ed7d31c14173 (diff)
parent7d27558c4138ac6b3684dea35c2f4379b940a7dd (diff)
Merge branch 'timers/clocksource' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index c40debe51b3..c4c60e9f068 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -3397,7 +3397,7 @@ int __init ip_rt_init(void)
0,
&rt_hash_log,
&rt_hash_mask,
- 0);
+ rhash_entries ? 0 : 512 * 1024);
memset(rt_hash_table, 0, (rt_hash_mask + 1) * sizeof(struct rt_hash_bucket));
rt_hash_lock_init();