Re: ipchains.o (Netfilter compatable module) dump

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Tue Jan 11 2000 - 22:40:32 EST


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/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:19 EST