diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-26 15:55:52 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-26 15:55:52 +0000 |
commit | 289665170067383eb14a3d59527c5ee2f2c6a4dc (patch) | |
tree | b8a27dc5c2df70ee2ed39e39bb77dda345485180 /package/linux/linux-2.4/patches/104-netfilter-maxconn.patch | |
parent | 20a240e3630073f6502c14138ddad74180d41b59 (diff) |
add all patches in a well defined form. added with cvs -ko to disable
keyword substitution. 001-bcm47xx.patch contains new source code from
Asus GPL package 1941. the stuff need a lot of testing. please add
information about existing and new kernel patches into ../README
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1061 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux/linux-2.4/patches/104-netfilter-maxconn.patch')
-rw-r--r-- | package/linux/linux-2.4/patches/104-netfilter-maxconn.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/linux/linux-2.4/patches/104-netfilter-maxconn.patch b/package/linux/linux-2.4/patches/104-netfilter-maxconn.patch new file mode 100644 index 000000000..001ed67b8 --- /dev/null +++ b/package/linux/linux-2.4/patches/104-netfilter-maxconn.patch @@ -0,0 +1,20 @@ +--- ../../buildroot-unpacked/build_mipsel/linux/net/ipv4/netfilter/ip_conntrack_core.c 2004-11-28 22:59:36.000000000 -0500 ++++ linux/net/ipv4/netfilter/ip_conntrack_core.c 2004-11-30 05:05:32.000000000 -0500 +@@ -1386,7 +1386,7 @@ + nf_unregister_sockopt(&so_getorigdst); + } + +-static int hashsize = 0; ++static int hashsize = 5953; + MODULE_PARM(hashsize, "i"); + + int __init ip_conntrack_init(void) +@@ -1407,7 +1407,7 @@ + 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, |