www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / kernel / linux / net / ipv4 / route.c
index 15d9eca..e899743 100755 (executable)
@@ -119,7 +119,7 @@ int ip_rt_redirect_load             = HZ / 50;
 int ip_rt_redirect_silence     = ((HZ / 50) << (9 + 1));
 int ip_rt_error_cost           = HZ;
 int ip_rt_error_burst          = 5 * HZ;
-int ip_rt_gc_elasticity                = 8;
+int ip_rt_gc_elasticity                = 1;
 int ip_rt_mtu_expires          = 10 * 60 * HZ;
 int ip_rt_min_pmtu             = 512 + 20 + 20;
 int ip_rt_min_advmss           = 256;
@@ -2803,7 +2803,11 @@ int __init ip_rt_init(void)
        }
 
        ipv4_dst_ops.gc_thresh = (rt_hash_mask + 1);
+#if defined(CONFIG_MIPS_BRCM)
+       ip_rt_max_size = (rt_hash_mask + 1) * 2;
+#else
        ip_rt_max_size = (rt_hash_mask + 1) * 16;
+#endif
 
        rt_cache_stat = alloc_percpu(struct rt_cache_stat);
        if (!rt_cache_stat)