From: Lukas Ruf <ruf@rawip.org>
To: netfilter development <netfilter-devel@lists.netfilter.org>
Subject: iptables 1.2.11 and kernel 2.6.7
Date: Fri, 2 Jul 2004 15:51:47 +0200 [thread overview]
Message-ID: <20040702135147.GC11721@tik.ee.ethz.ch> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Today, I realized two problems: with kernel 2.6.7 when builing iptables
1.2.11 for ipv4 and ipv6:
In the files:
include/libiptc/libip6tc.h
include/libiptc/libiptc.h
1. : __user is not known as found in both
include/linux/netfilter_ipv6/ip6_tables.h:261
include/linux/netfilter_ipv4/ip_tables.h:255
2. : DECLARE_MUTEX() is not known outside of the kernel for both
DECLARE_MUTEX(ip6t_mutex) and DECLARE_MUTEX(ipt_mutex)
as defined in the same files:
include/linux/netfilter_ipv6/ip6_tables.h
include/linux/netfilter_ipv4/ip_tables.h
I fixed the problems by #define'ing __user ifndef before in the
libiptc files, and moving DECLARE_MUTEX() into the #ifdef __KERNEL__
statement in the ip_tables.h files.
Has anyone experienced the same problems? I could not find any answer
in the archive.
If anyone would be interested in patch, please indicate and I will
create one.
Thanks.
wbr,
Lukas
- --
Lukas Ruf | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA5WhzXf8zDoH8+EURAmg/AJsGzGy1CNvVLJrKPn+ppDehZS4f9gCglLc0
1zCWo4Icb8oHec7iHq7kESk=
=GY2R
-----END PGP SIGNATURE-----
next reply other threads:[~2004-07-02 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-02 13:51 Lukas Ruf [this message]
2004-07-02 14:05 ` iptables 1.2.11 and kernel 2.6.7 Tobias DiPasquale
2004-07-02 14:22 ` Lukas Ruf
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=20040702135147.GC11721@tik.ee.ethz.ch \
--to=ruf@rawip.org \
--cc=dev_null@rawip.org \
--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.