Sisyphus repository
Last update: 21 october 2018 | SRPMs: 18631 | Visits: 12403449
en ru br
ALT Linux repos
S:2.3-alt1.k.263330.1

Group :: System/Kernel and hardware
RPM: kernel-modules-ipt_netflow-std-pae

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ipt_netflow-3.9.patch
Download


diff -ru ipt_netflow-1.8.orig/ipt_NETFLOW.c ipt_netflow-1.8/ipt_NETFLOW.c
--- ipt_netflow-1.8.orig/ipt_NETFLOW.c	2013-05-07 10:20:54.000000000 +0000
+++ ipt_netflow-1.8/ipt_NETFLOW.c	2013-05-07 10:57:43.864990853 +0000
@@ -854,9 +854,8 @@
 ipt_netflow_find(const struct ipt_netflow_tuple *tuple, unsigned int hash)
 {
 	struct ipt_netflow *nf;
-	struct hlist_node *pos;
 
-	hlist_for_each_entry(nf, pos, &ipt_netflow_hash[hash], hlist) {
+	hlist_for_each_entry(nf, &ipt_netflow_hash[hash], hlist) {
 		if (ipt_netflow_tuple_equal(tuple, &nf->tuple) &&
 		    nf->nr_bytes < FLOW_FULL_WATERMARK) {
 			NETFLOW_STAT_INC(found);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin