--- ipt_NETFLOW.c.orig 2013-09-06 12:07:01.036269265 +0000 +++ ipt_NETFLOW.c 2013-09-06 12:07:39.818918591 +0000 @@ -1403,9 +1403,9 @@ /* determine hash size (idea from nf_conntrack_core.c) */ if (!hashsize) { - hashsize = (((num_physpages << PAGE_SHIFT) / 16384) + hashsize = (((get_num_physpages() << PAGE_SHIFT) / 16384) / sizeof(struct hlist_head)); - if (num_physpages > (1024 * 1024 * 1024 / PAGE_SIZE)) + if (get_num_physpages() > (1024 * 1024 * 1024 / PAGE_SIZE)) hashsize = 8192; } if (hashsize < 16)