From: Max Kellermann <max@duempel.org>
To: Patrick McHardy <kaber@trash.net>
Cc: netfilter-devel@lists.netfilter.org
Subject: [PATCH nfsim] 2.6.12 compatibility
Date: Wed, 11 May 2005 23:21:15 +0200 [thread overview]
Message-ID: <20050511212115.GA15286@roonstrasse.net> (raw)
In-Reply-To: <428265DF.70300@trash.net>
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
On 2005/05/11 22:06, Patrick McHardy <kaber@trash.net> wrote:
> I have this patch, but I can't recall if it worked correctly with it or
> not. It needs at least a couple #if KERNEL_VERSION > ... before it can
> be committed.
The required changes in addition to your patch were trivial - there
were 3 definitions missing. A patch is attached. My patch does not
need #ifKERNEL_VERSIONs, I guess.
nfsim/2.6.12-rc4 seems to run well now - my h323-conntrack-nat test
suite succeeds.
Max
[-- Attachment #2: nfsim-2.6.12-defs.patch --]
[-- Type: text/plain, Size: 1031 bytes --]
Wed May 11 23:06:19 CEST 2005 max@duempel.org
* definitions for 2.6.12 compatibility
diff -rN -u old-nfsim-0/core/core.h new-nfsim-0/core/core.h
--- old-nfsim-0/core/core.h 2005-05-11 23:19:44.000000000 +0200
+++ new-nfsim-0/core/core.h 2005-05-11 23:05:37.000000000 +0200
@@ -76,7 +76,8 @@
#define NF_STOLEN 2
#define NF_QUEUE 3
#define NF_REPEAT 4
-#define NF_MAX_VERDICT NF_REPEAT
+#define NF_STOP 5
+#define NF_MAX_VERDICT NF_STOP
#define NF_MAX_HOOKS 8
diff -rN -u old-nfsim-0/kernelenv/include/kernelenv.h new-nfsim-0/kernelenv/include/kernelenv.h
--- old-nfsim-0/kernelenv/include/kernelenv.h 2005-05-11 23:19:45.000000000 +0200
+++ new-nfsim-0/kernelenv/include/kernelenv.h 2005-05-11 23:03:27.000000000 +0200
@@ -1130,6 +1130,9 @@
#define MODULE_PARM_DESC(x,n)
#define module_param(name, type, perm)
#define module_param_array(name, type, num, perm)
+#define module_param_call(name, set, get, arg, perm)
+
+struct kernel_param;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,28)
#define EXPORT_NO_SYMBOLS
next prev parent reply other threads:[~2005-05-11 21:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-11 19:56 nfsim for Linux 2.6.12-rc4? Max Kellermann
2005-05-11 20:06 ` Patrick McHardy
2005-05-11 20:29 ` Max Kellermann
2005-05-11 21:21 ` Max Kellermann [this message]
2005-05-11 21:52 ` Max Kellermann
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=20050511212115.GA15286@roonstrasse.net \
--to=max@duempel.org \
--cc=kaber@trash.net \
--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.