From: Harald Welte <laforge@netfilter.org>
To: Chris Wedgwood <cw@f00f.org>
Cc: "David S. Miller" <davem@redhat.com>,
Alex Williamson <alex.williamson@hp.com>,
clameter@sgi.com, linux-kernel@vger.kernel.org,
linux-ia64@vger.kernel.org
Subject: Re: Unaligned accesses in net/ipv4/netfilter/arp_tables.c:184
Date: Thu, 10 Jun 2004 05:46:24 +0000 [thread overview]
Message-ID: <20040610054624.GL11490@sunbeam.de.gnumonks.org> (raw)
In-Reply-To: <20040610014519.GA3158@taniwha.stupidest.org>
[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]
On Wed, Jun 09, 2004 at 06:45:19PM -0700, Chris Wedgwood wrote:
> On Wed, Jun 09, 2004 at 01:00:01PM -0700, David S. Miller wrote:
>
> > How can you legitimately change this structure? It's an exported
> > userland interface, if you change it all the applications will stop
> > working.
>
> Why not split the structure for user-space and kernel-space version
> and cp/frob at/near the syscall boundary?
because it would look like an ugly hack in the setsockopt call, plus
adding another costly/time consuming parse of the table BLOB.
Also note that the kernel currently has no code that supports the
generation/modification of rulesets. All it can do is iterate over them.
> --cw
--
- Harald Welte <laforge@netfilter.org> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-06-10 5:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-09 18:09 Unaligned accesses in net/ipv4/netfilter/arp_tables.c:184 Christoph Lameter
2004-06-09 18:27 ` Alex Williamson
2004-06-09 20:00 ` David S. Miller
2004-06-09 20:29 ` Alex Williamson
2004-06-09 20:29 ` David S. Miller
2004-06-09 21:33 ` Harald Welte
2004-06-09 21:52 ` Alex Williamson
2004-06-10 1:45 ` Chris Wedgwood
2004-06-10 5:46 ` Harald Welte [this message]
2004-06-11 5:04 ` David S. Miller
2004-06-11 5:41 ` Andreas Dilger
2004-06-11 5:40 ` David S. Miller
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=20040610054624.GL11490@sunbeam.de.gnumonks.org \
--to=laforge@netfilter.org \
--cc=alex.williamson@hp.com \
--cc=clameter@sgi.com \
--cc=cw@f00f.org \
--cc=davem@redhat.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox