From: Patrick McHardy <kaber@trash.net>
To: Eric Leblond <eric@inl.fr>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: ipq problem on PPC 64 bits arch
Date: Tue, 13 Sep 2005 16:37:16 +0200 [thread overview]
Message-ID: <4326E41C.8010108@trash.net> (raw)
In-Reply-To: <1126620638.20081.40.camel@localhost.localdomain>
Eric Leblond wrote:
> Hi,
>
> We were not able to have libipq working on a PPC 64 (openpower from IBM)
> running RHEL4 :
> linux HOST 2.6.9-5.EL #1 SMP DATE ppc64 ppc64 ppc64
> iptables has been compiled from latest source (1.3.3).
>
> Application (nufw) is able to get the message (an IPV4 queued packet)
> but when it try get the version contained in the payload if failed :
> ((struct iphdr*) msg->payload)->version
> returns 0.
>
> We try to set
> CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32
> which was not set by Makefile. But there were no result.
Known problem, the struct is layouted in a way that makes it fail in
mixed 32/64 bit environments. nfnetlink_queue doesn't have this problem.
prev parent reply other threads:[~2005-09-13 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 14:10 ipq problem on PPC 64 bits arch Eric Leblond
2005-09-13 14:37 ` Patrick McHardy [this message]
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=4326E41C.8010108@trash.net \
--to=kaber@trash.net \
--cc=eric@inl.fr \
--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.