Linux-kernel mailing list archive 2000-02,: Re: ipchains.o (Netfilter compatable module) dump

# Re: ipchains.o (Netfilter compatable module) dump

Rusty Russell (rusty@linuxcare.com.au)
Wed, 12 Jan 2000 14:40:32 +1100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Keith Owens: "Re: OOPS with slab cache"
- Previous message: Daniel Kobras: "Re: vfat and SECTOR_SIZE=2048"
- Maybe in reply to: Bradley Wendelboe: "ipchains.o (Netfilter compatable module) dump"

In message <387A6893.76666E0E@visi.com> you write:
> ip_conntrack.o v0.1.15 (0 buckets)

Given that conntrack doesn't work for people with <=64MB of RAM, I'll
release 0.1.16 today.

Meanwhile:
--- netfilter-0.1.15/conntrack/ip_conntrack_core.c 2000/01/09 04:06:16
+++ netfilter/conntrack/ip_conntrack_core.c 2000/01/11 22:18:17
@@ -748,7 +748,7 @@
/* Idea from tcp.c: use 1/16384 of memory. On i386: 32MB
* machine has 256 buckets. 1GB machine has 8192 buckets. */
ip_conntrack_htable_size
- = (((num_physpages / 16384) << PAGE_SHIFT)
+ = (((num_physpages << PAGE_SHIFT) / 16384)
/ sizeof(struct list_head));
printk("ip_conntrack.o v%s (%u buckets)\n",

    --
    Hacking time.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: Keith Owens: "Re: OOPS with slab cache"
- Previous message: Daniel Kobras: "Re: vfat and SECTOR_SIZE=2048"
- Maybe in reply to: Bradley Wendelboe: "ipchains.o (Netfilter compatable module) dump"