All of lore.kernel.org
 help / color / mirror / Atom feed
* nf_conntrack_core: port to module_param
@ 2004-10-15 22:10 Michal Rokos
  2004-10-17 21:31 ` Yasuyuki Kozakai
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Rokos @ 2004-10-15 22:10 UTC (permalink / raw)
  To: netfilter-devel

Hello,

as Yasuyuki KOZAKAI directed, I'm sending nf_conntrack patches here 
instead of usagi-users.

This one is 1 addition I forget to fold into last patch I sent.

Make nf_conntrack_core use module_param() and turn of debugging by 
default.

Michal

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/10/15 23:52:28+02:00 michal@michal.rokos.info 
#   Forgot to port nf_conntrack_core to module_param too.
# 
# net/netfilter/nf_conntrack_core.c
#   2004/10/15 23:52:17+02:00 michal@michal.rokos.info +2 -2
#   Port nf_conntrack_core to module_param too.
# 
diff -Nru a/net/netfilter/nf_conntrack_core.c 
b/net/netfilter/nf_conntrack_core.c
--- a/net/netfilter/nf_conntrack_core.c 2004-10-16 00:07:30 +02:00
+++ b/net/netfilter/nf_conntrack_core.c 2004-10-16 00:07:30 +02:00
@@ -53,7 +53,7 @@
 
 #define NF_CONNTRACK_VERSION "0.3"
 
-#if 1
+#if 0
 #define DEBUGP printk
 #else
 #define DEBUGP(format, args...)
@@ -1653,7 +1653,7 @@
 }
 
 static int hashsize;
-MODULE_PARM(hashsize, "i");
+module_param(hashsize, int, 0400);
 
 int __init nf_conntrack_init(void)
 {

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

* Re: nf_conntrack_core: port to module_param
  2004-10-15 22:10 nf_conntrack_core: port to module_param Michal Rokos
@ 2004-10-17 21:31 ` Yasuyuki Kozakai
  2004-10-17 21:41   ` Michal Rokos
  2004-10-18 13:45   ` Harald Welte
  0 siblings, 2 replies; 4+ messages in thread
From: Yasuyuki Kozakai @ 2004-10-17 21:31 UTC (permalink / raw)
  To: michal; +Cc: netfilter-devel, usagi-core


Hi, Michal,

As I said at usagi-users ML, I have already started synchronizing nf_conntrack
with ip_conntrack in linux 2.9.6-rc4, and already done same changes in your
patch.

By the way, I reviewed your patches sent to usagi-users ML.
	- 3 patches to introduce seq_file API.
	- a patch to introduce module_param to ftp module.

They were almost fine for me, and applied them. Thank you!
Then could you send your Signed-off-by ?

And, I'm changing many parts and afraid of double work. After more some
changes and tests, I'll send the latest nf_conntrack (or commit it to tree
in netfilter site). I use the branch for nf_conntrack in USAGI tree as
snapshot only. Moreover, I think that almost people check nf_conntrack
in only netfilter site.

So, could you wait for a while to prevent double work and use nf_conntrack
in netfilter site if you want to make patches ?

Regards,

-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>


From: Michal Rokos <michal@rokos.info>
Date: Sat, 16 Oct 2004 00:10:40 +0200

> Hello,
> 
> as Yasuyuki KOZAKAI directed, I'm sending nf_conntrack patches here 
> instead of usagi-users.
> 
> This one is 1 addition I forget to fold into last patch I sent.
> 
> Make nf_conntrack_core use module_param() and turn of debugging by 
> default.
> 
> Michal
> 
> # This is a BitKeeper generated diff -Nru style patch.
> #
> # ChangeSet
> #   2004/10/15 23:52:28+02:00 michal@michal.rokos.info 
> #   Forgot to port nf_conntrack_core to module_param too.
> # 
> # net/netfilter/nf_conntrack_core.c
> #   2004/10/15 23:52:17+02:00 michal@michal.rokos.info +2 -2
> #   Port nf_conntrack_core to module_param too.
> # 
> diff -Nru a/net/netfilter/nf_conntrack_core.c 
> b/net/netfilter/nf_conntrack_core.c
> --- a/net/netfilter/nf_conntrack_core.c 2004-10-16 00:07:30 +02:00
> +++ b/net/netfilter/nf_conntrack_core.c 2004-10-16 00:07:30 +02:00
> @@ -53,7 +53,7 @@
>  
>  #define NF_CONNTRACK_VERSION "0.3"
>  
> -#if 1
> +#if 0
>  #define DEBUGP printk
>  #else
>  #define DEBUGP(format, args...)
> @@ -1653,7 +1653,7 @@
>  }
>  
>  static int hashsize;
> -MODULE_PARM(hashsize, "i");
> +module_param(hashsize, int, 0400);
>  
>  int __init nf_conntrack_init(void)
>  {
> 
> 

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

* Re: nf_conntrack_core: port to module_param
  2004-10-17 21:31 ` Yasuyuki Kozakai
@ 2004-10-17 21:41   ` Michal Rokos
  2004-10-18 13:45   ` Harald Welte
  1 sibling, 0 replies; 4+ messages in thread
From: Michal Rokos @ 2004-10-17 21:41 UTC (permalink / raw)
  To: Yasuyuki Kozakai; +Cc: netfilter-devel, usagi-core

Hello,

Yasuyuki Kozakai wrote:
> As I said at usagi-users ML, I have already started synchronizing nf_conntrack
> with ip_conntrack in linux 2.9.6-rc4, and already done same changes in your
> patch.

I'm very pleased to see it's happening.

> By the way, I reviewed your patches sent to usagi-users ML.
> 	- 3 patches to introduce seq_file API.
> 	- a patch to introduce module_param to ftp module.
> 
> They were almost fine for me, and applied them. Thank you!

No - I thank you!

> Then could you send your Signed-off-by ?

Signed-off-by: Michal Rokos <michal@rokos.info>

(and I'll append this in all latter patches)

> And, I'm changing many parts and afraid of double work. After more some
> changes and tests, I'll send the latest nf_conntrack (or commit it to tree
> in netfilter site). I use the branch for nf_conntrack in USAGI tree as
> snapshot only. Moreover, I think that almost people check nf_conntrack
> in only netfilter site.
> 
> So, could you wait for a while to prevent double work and use nf_conntrack
> in netfilter site if you want to make patches ?

Of course! I'd hate that (double work) too.

I'll be checking out netfilter repository only.

Michal

> 
> Regards,
> 
> -----------------------------------------------------------------
> Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>
> 
> 
> From: Michal Rokos <michal@rokos.info>
> Date: Sat, 16 Oct 2004 00:10:40 +0200
> 
> 
>>Hello,
>>
>>as Yasuyuki KOZAKAI directed, I'm sending nf_conntrack patches here 
>>instead of usagi-users.
>>
>>This one is 1 addition I forget to fold into last patch I sent.
>>
>>Make nf_conntrack_core use module_param() and turn of debugging by 
>>default.
>>
>>Michal
>>
>># This is a BitKeeper generated diff -Nru style patch.
>>#
>># ChangeSet
>>#   2004/10/15 23:52:28+02:00 michal@michal.rokos.info 
>>#   Forgot to port nf_conntrack_core to module_param too.
>># 
>># net/netfilter/nf_conntrack_core.c
>>#   2004/10/15 23:52:17+02:00 michal@michal.rokos.info +2 -2
>>#   Port nf_conntrack_core to module_param too.
>># 
>>diff -Nru a/net/netfilter/nf_conntrack_core.c 
>>b/net/netfilter/nf_conntrack_core.c
>>--- a/net/netfilter/nf_conntrack_core.c 2004-10-16 00:07:30 +02:00
>>+++ b/net/netfilter/nf_conntrack_core.c 2004-10-16 00:07:30 +02:00
>>@@ -53,7 +53,7 @@
>> 
>> #define NF_CONNTRACK_VERSION "0.3"
>> 
>>-#if 1
>>+#if 0
>> #define DEBUGP printk
>> #else
>> #define DEBUGP(format, args...)
>>@@ -1653,7 +1653,7 @@
>> }
>> 
>> static int hashsize;
>>-MODULE_PARM(hashsize, "i");
>>+module_param(hashsize, int, 0400);
>> 
>> int __init nf_conntrack_init(void)
>> {
>>
>>

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

* Re: nf_conntrack_core: port to module_param
  2004-10-17 21:31 ` Yasuyuki Kozakai
  2004-10-17 21:41   ` Michal Rokos
@ 2004-10-18 13:45   ` Harald Welte
  1 sibling, 0 replies; 4+ messages in thread
From: Harald Welte @ 2004-10-18 13:45 UTC (permalink / raw)
  To: Yasuyuki Kozakai; +Cc: netfilter-devel, usagi-core

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

On Mon, Oct 18, 2004 at 06:31:52AM +0900, Yasuyuki Kozakai wrote:
> And, I'm changing many parts and afraid of double work. After more some
> changes and tests, I'll send the latest nf_conntrack (or commit it to tree
> in netfilter site). I use the branch for nf_conntrack in USAGI tree as
> snapshot only. Moreover, I think that almost people check nf_conntrack
> in only netfilter site.

Plese note that we have migrated from CVS to subversion meanwhile.  I
will give you a subversion key and instructions in seperate private
email laater today.

I'm looking forward to see your synchronized nf_conntrack version, let's
hope we can include it soon.

> Regards,
-- 
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-10-18 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 22:10 nf_conntrack_core: port to module_param Michal Rokos
2004-10-17 21:31 ` Yasuyuki Kozakai
2004-10-17 21:41   ` Michal Rokos
2004-10-18 13:45   ` Harald Welte

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.