All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables 1.2.11 and kernel 2.6.7
@ 2004-07-02 13:51 Lukas Ruf
  2004-07-02 14:05 ` Tobias DiPasquale
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Ruf @ 2004-07-02 13:51 UTC (permalink / raw)
  To: netfilter development

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

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

end of thread, other threads:[~2004-07-02 14:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-02 13:51 iptables 1.2.11 and kernel 2.6.7 Lukas Ruf
2004-07-02 14:05 ` Tobias DiPasquale
2004-07-02 14:22   ` Lukas Ruf

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.