update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom...
[openwrt.git] / target / linux / generic-2.4 / patches / 604-netfilter_maxconn.patch
1 Index: linux-2.4.35.4/net/ipv4/netfilter/ip_conntrack_core.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/net/ipv4/netfilter/ip_conntrack_core.c 2007-12-15 05:20:06.404205198 +0100
4 +++ linux-2.4.35.4/net/ipv4/netfilter/ip_conntrack_core.c 2007-12-15 05:20:06.772226171 +0100
5 @@ -1410,7 +1410,7 @@
6 nf_unregister_sockopt(&so_getorigdst);
7 }
8
9 -static int hashsize = 0;
10 +static int hashsize = 5953;
11 MODULE_PARM(hashsize, "i");
12
13 int __init ip_conntrack_init(void)
14 @@ -1431,7 +1431,7 @@
15 if (ip_conntrack_htable_size < 16)
16 ip_conntrack_htable_size = 16;
17 }
18 - ip_conntrack_max = 8 * ip_conntrack_htable_size;
19 + ip_conntrack_max = ip_conntrack_htable_size;
20
21 printk("ip_conntrack version %s (%u buckets, %d max)"
22 " - %Zd bytes per conntrack\n", IP_CONNTRACK_VERSION,
This page took 0.051719 seconds and 5 git commands to generate.