All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
To: kadlec@blackhole.kfki.hu
Cc: netfilter-devel@lists.netfilter.org
Subject: p-o-m: nf-log fix
Date: Tue, 10 Aug 2004 13:05:47 +0200	[thread overview]
Message-ID: <1092135947.2905.346.camel@develbox.linuxbox.cz> (raw)

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.

-- 
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

             reply	other threads:[~2004-08-10 11:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10 11:05 Nikola Ciprich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-10 11:13 p-o-m: nf-log fix Nikola Ciprich
2004-08-10 12:21 ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1092135947.2905.346.camel@develbox.linuxbox.cz \
    --to=nikola.ciprich@linuxbox.cz \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.