netdev
[Top] [All Lists]

Re: ipt_physdev.c alignment problems on parisc64

To: Harald Welte <laforge@xxxxxxxxxxxxx>
Subject: Re: ipt_physdev.c alignment problems on parisc64
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 16 Sep 2003 18:16:03 -0700
Cc: hno@xxxxxxxxxxxxxxx, bdschuym@xxxxxxxxxx, acme@xxxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030916140918.GF810@obroa-skai.de.gnumonks.org>
References: <200309022116.41697.bdschuym@pandora.be> <200309132159.37834.bdschuym@pandora.be> <20030915155903.12a3f95d.davem@redhat.com> <200309160805.08171.bdschuym@pandora.be> <20030915230259.79f5a545.davem@redhat.com> <1063703910.5948.85.camel@henrik.marasystems.com> <20030916140918.GF810@obroa-skai.de.gnumonks.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 16 Sep 2003 16:09:18 +0200
Harald Welte <laforge@xxxxxxxxxxxxx> wrote:

> On Tue, Sep 16, 2003 at 11:18:34AM +0200, Henrik Nordstrom wrote:
> > tis 2003-09-16 klockan 08.02 skrev David S. Miller:
> > 
> > unfortunately iptables does not allow such differences between userspace
> > and kernel representation..
> 
> yes. yes. yes.  The whole 'kernel internal data structure exported to
> userspace' is a fundamental design flaw of iptables.  There's nothing we
> can do about it, we'll have to live with it :(

Why can't you change this?

Just because the user gives the kernel the data in one format, this
does not at all prevent the actual iptables kernel implementation from
using some other structure to store the data.  You just have to translate
things on the way in and out, that's all.

<Prev in Thread] Current Thread [Next in Thread>