p-o-m: nf-log fix
Hi, I think there is small bug in nf-log p'o'm patchset, can You please apply following patch: (in case it is correct)
diff -Naur patch-o-matic-ng-20040809/nf-log/linux-2.4.patch patch-o-matic-ng-20040809-nf-log_fix/nf-log/linux-2.4.patch
--- patch-o-matic-ng-20040809/nf-log/linux-2.4.patch 2004-02-19
12:36:55.000000000 +0100
+++ patch-o-matic-ng-20040809-nf-log_fix/nf-log/linux-2.4.patch
2004-08-10 12:07:10.644846287 +0200
@@ -402,7 +402,7 @@
+ }
+
+ /* if threshold is reached, send message to userspace */
-+ if (qlen >= loginfo.qthreshold) {
++ if (ub->qlen >= loginfo.qthreshold) { + if (loginfo.qthreshold > 1)
+ nlh->nlmsg_type = NLMSG_DONE;
+ }
thanks,
n.
Patrick McHardy
AppliedQuoted 4 lines · Nikola Ciprich
Hi, I think there is small bug in nf-log p'o'm patchset, can You please apply following patch: (in case it is correct)
Applied, thanks.
Regards
Patrick
Quoted 22 lines
diff -Naur
patch-o-matic-ng-20040809/nf-log/linux-2.4.patchpatch-o-matic-ng-20040809-nf-log_fix/nf-log/linux-2.4.patch
---patch-o-matic-ng-20040809/nf-log/linux-2.4.patch2004-02-19
12:36:55.000000000 +0100
+++patch-o-matic-ng-20040809-nf-log_fix/nf-log/linux-2.4.patch2004-08-10 12:07:10.644846287 +0200(quoted diff) +7
-1@@ -402,7 +402,7 @@ + } + + /* if threshold is reached, send message to userspace */ -+ if (qlen >= loginfo.qthreshold) { ++ if (ub->qlen >= loginfo.qthreshold) { + if (loginfo.qthreshold > 1) + nlh->nlmsg_type = NLMSG_DONE; + }thanks,
n.