Group :: System/Kernel and hardware
RPM: kernel-modules-ipt_netflow-std-def
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: ipt_netflow-3.11.patch
Download
Download
--- 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)