All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: kaber@trash.net
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [NETFILTER]: Fix iptables ABI breakage on (at least) CRIS
Date: Tue, 23 Jan 2007 22:00:35 -0800 (PST)	[thread overview]
Message-ID: <20070123.220035.39158206.davem@davemloft.net> (raw)
In-Reply-To: <45ACDB15.60003@trash.net>

From: Patrick McHardy <kaber@trash.net>
Date: Tue, 16 Jan 2007 15:03:01 +0100

> [NETFILTER]: Fix iptables ABI breakage on (at least) CRIS
> 
> With the introduction of x_tables we accidentally broke compatibility
> by defining IPT_TABLE_MAXNAMELEN to XT_FUNCTION_MAXNAMELEN instead of
> XT_TABLE_MAXNAMELEN, which is two bytes larger.
> 
> On most architectures it doesn't really matter since we don't have
> any tables with names that long in the kernel and the structure
> layout didn't change because of alignment requirements of following
> members. On CRIS however (and other architectures that don't align
> data) this changed the structure layout and thus broke compatibility
> with old iptables binaries.
> 
> Changing it back will break compatibility with binaries compiled
> against recent kernels again, but since the breakage has only been
> there for three releases this seems like the better choice.
> 
> Spotted by Jonas Berlin <xkr47@outerspace.dyndns.org>.
> 
> Signed-off-by: Patrick McHardy <kaber@trash.net>

Applied, push this to -stable if you haven't already Patrick.

Thanks.

  reply	other threads:[~2007-01-24  6:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-16 14:03 [NETFILTER]: Fix iptables ABI breakage on (at least) CRIS Patrick McHardy
2007-01-24  6:00 ` David Miller [this message]
2007-01-24 16:47   ` Patrick McHardy

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=20070123.220035.39158206.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=kaber@trash.net \
    --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.