From: Patrick McHardy <kaber@trash.net>
To: Joseph Jezak <josejx@gentoo.org>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: iptables: "getsockopt failed strangely"
Date: Tue, 26 Jun 2007 11:27:47 +0200 [thread overview]
Message-ID: <4680DC13.2000708@trash.net> (raw)
In-Reply-To: <467FE504.6040606@gentoo.org>
Joseph Jezak wrote:
> Hi,
>
> On PowerPC, with a binary compiled statically, we're seeing the error
> message in the topic when simply running the iptables binary.
> For more information, the Gentoo bug is available here:
> http://bugs.gentoo.org/show_bug.cgi?id=136813
>
> Basically, the issue arises from a missing check for the result from the
> module request located in /usr/src/linux/net/ipv4/netfilter/iptables.c
>
> A patch to add a check for -ENOENT and printing out the missing module
> name then return -EPROTONOSUPPORT instead of -ENOENT is attached and
> "fixes" the bug for me.
Not sure if I understood the report correctly. It states iptables
would return -EPROTONOSUPPORT when requesting the version of a
non-loaded module. Thats not correct since the module will be
loaded previously by do_ipt_get_ctl.
Its possible though that you use an old iptables version, we've
had a bug that corrupted errno with some crap before printing
the error.
prev parent reply other threads:[~2007-06-26 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 15:53 iptables: "getsockopt failed strangely" Joseph Jezak
2007-06-26 9:27 ` 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=4680DC13.2000708@trash.net \
--to=kaber@trash.net \
--cc=josejx@gentoo.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.