Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37404941
en ru br
ALT Linux repositórios
S:2.6-alt1.393527.1

Group :: Sistema/Kernel e hardware
RPM: kernel-modules-ipt_netflow-std-def

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: ipt_netflow-3.11.patch
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)
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009