From: Sergey Vlasov <vsu@altlinux.ru>
To: "David S. Miller" <davem@davemloft.net>
Cc: Patrick McHardy <kaber@trash.net>,
netdev@oss.sgi.com, dtor_core@ameritech.net,
netfilter-devel@lists.netfilter.org,
linux-kernel@vger.kernel.org
Subject: Re: Last night Linus bk - netfilter busted?
Date: Fri, 11 Mar 2005 22:27:01 +0300 [thread overview]
Message-ID: <20050311222701.216aba43.vsu@altlinux.ru> (raw)
In-Reply-To: <20050311105136.2a5e4ddc.davem@davemloft.net>
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]
On Fri, 11 Mar 2005 10:51:36 -0800 David S. Miller wrote:
> On Fri, 11 Mar 2005 15:00:56 +0100
> Patrick McHardy <kaber@trash.net> wrote:
>
> > Works fine here. You could try if reverting one of these two patches
> > helps (second one only if its a SMP box).
> >
> > ChangeSet@1.2010, 2005-03-09 20:28:17-08:00, bdschuym@pandora.be
> > [NETFILTER]: Reduce call chain length in netfilter (take 2)
>
> It's this change, I know it is, because Linus sees the same problem
> on his workstation.
>
> You wouldn't happen to be seeing this problem on a PPC box would
> you? Since Linus's machine is a PPC machine too, that would support
> my theory that this could be a compiler issue on that platform.
>
> Damn, wait, Patrick, I think I know what's happening. The iptables
> IPT_* verdicts are dependant upon the NF_* values, and they don't
> cope with Bart's changes I bet. Can you figure out what the exact
> error would be? This kind of issue would explain the looping inside
> of ipt_do_table(), wouldn't it?
This is not just some buggy code - that patch also breaks interfaces:
include/linux/netfilter_ipv4/ip_tables.h:
#define IPT_RETURN (-NF_MAX_VERDICT - 1)
And this value is visible in userspace. Therefore we cannot modify
NF_MAX_VERDICT without breaking all existing iptables binaries.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-03-11 19:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-11 7:23 Last night Linus bk - netfilter busted? Dmitry Torokhov
2005-03-11 9:07 ` [Announce] Stream line modules from .config with streamline_config.pl Steven Rostedt
2005-03-11 14:00 ` Last night Linus bk - netfilter busted? Patrick McHardy
2005-03-11 18:51 ` David S. Miller
2005-03-11 18:51 ` David S. Miller
2005-03-11 18:56 ` Dmitry Torokhov
2005-03-11 19:27 ` Sergey Vlasov [this message]
2005-03-11 20:49 ` Patrick McHardy
2005-03-11 20:49 ` Patrick McHardy
2005-03-11 21:21 ` Herbert Xu
2005-03-11 21:21 ` Herbert Xu
2005-03-11 22:55 ` Patrick McHardy
2005-03-11 22:55 ` Patrick McHardy
2005-03-13 6:54 ` Dmitry Torokhov
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=20050311222701.216aba43.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=davem@davemloft.net \
--cc=dtor_core@ameritech.net \
--cc=kaber@trash.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--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.