mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-18 06:01:30 +03:00
f3016ce71f
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11213 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
825 B
Diff
23 lines
825 B
Diff
Index: linux-2.4.35.4/net/ipv4/netfilter/ip_conntrack_core.c
|
|
===================================================================
|
|
--- linux-2.4.35.4.orig/net/ipv4/netfilter/ip_conntrack_core.c
|
|
+++ linux-2.4.35.4/net/ipv4/netfilter/ip_conntrack_core.c
|
|
@@ -1410,7 +1410,7 @@ void ip_conntrack_cleanup(void)
|
|
nf_unregister_sockopt(&so_getorigdst);
|
|
}
|
|
|
|
-static int hashsize = 0;
|
|
+static int hashsize = 5953;
|
|
MODULE_PARM(hashsize, "i");
|
|
|
|
int __init ip_conntrack_init(void)
|
|
@@ -1431,7 +1431,7 @@ int __init ip_conntrack_init(void)
|
|
if (ip_conntrack_htable_size < 16)
|
|
ip_conntrack_htable_size = 16;
|
|
}
|
|
- ip_conntrack_max = 8 * ip_conntrack_htable_size;
|
|
+ ip_conntrack_max = ip_conntrack_htable_size;
|
|
|
|
printk("ip_conntrack version %s (%u buckets, %d max)"
|
|
" - %Zd bytes per conntrack\n", IP_CONNTRACK_VERSION,
|