All of lore.kernel.org
 help / color / mirror / Atom feed
* p-o-m: nf-log fix
@ 2004-08-10 11:05 Nikola Ciprich
  0 siblings, 0 replies; 3+ messages in thread
From: Nikola Ciprich @ 2004-08-10 11:05 UTC (permalink / raw)
  To: kadlec; +Cc: netfilter-devel

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
-------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* p-o-m: nf-log fix
@ 2004-08-10 11:13 Nikola Ciprich
  2004-08-10 12:21 ` Patrick McHardy
  0 siblings, 1 reply; 3+ messages in thread
From: Nikola Ciprich @ 2004-08-10 11:13 UTC (permalink / raw)
  To: kadlec; +Cc: netfilter-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: p-o-m: nf-log fix
  2004-08-10 11:13 p-o-m: nf-log fix Nikola Ciprich
@ 2004-08-10 12:21 ` Patrick McHardy
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2004-08-10 12:21 UTC (permalink / raw)
  To: Nikola Ciprich; +Cc: kadlec, netfilter-devel

Nikola Ciprich wrote:

>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

>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.
>
>
>  
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-10 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-10 11:13 p-o-m: nf-log fix Nikola Ciprich
2004-08-10 12:21 ` Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2004-08-10 11:05 Nikola Ciprich

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.