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

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.