add oleg's fix for ethtool
[openwrt.git] / package / linux / kernel-patches / 310-netfilter-maxconn
1 --- ../../buildroot-unpacked/build_mipsel/linux/net/ipv4/netfilter/ip_conntrack_core.c 2004-11-28 22:59:36.000000000 -0500
2 +++ linux/net/ipv4/netfilter/ip_conntrack_core.c 2004-11-30 05:05:32.000000000 -0500
3 @@ -1386,7 +1386,7 @@
4 nf_unregister_sockopt(&so_getorigdst);
5 }
6
7 -static int hashsize = 0;
8 +static int hashsize = 5953
9 MODULE_PARM(hashsize, "i");
10
11 int __init ip_conntrack_init(void)
12 @@ -1407,7 +1407,7 @@
13 if (ip_conntrack_htable_size < 16)
14 ip_conntrack_htable_size = 16;
15 }
16 - ip_conntrack_max = 8 * ip_conntrack_htable_size;
17 + ip_conntrack_max = ip_conntrack_htable_size;
18
19 printk("ip_conntrack version %s (%u buckets, %d max)"
20 " - %Zd bytes per conntrack\n", IP_CONNTRACK_VERSION,
This page took 0.042306 seconds and 5 git commands to generate.