netdev
[Top] [All Lists]

Re: ipt_physdev.c alignment problems on parisc64

To: Bart De Schuymer <bdschuym@xxxxxxxxxx>
Subject: Re: ipt_physdev.c alignment problems on parisc64
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 3 Sep 2003 20:04:26 -0700
Cc: acme@xxxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <200309022116.41697.bdschuym@xxxxxxxxxx>
References: <20030902143050.GC3398@xxxxxxxxxxxxxxxx> <200309022116.41697.bdschuym@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 2 Sep 2003 21:16:41 +0200
Bart De Schuymer <bdschuym@xxxxxxxxxx> wrote:

> On Tuesday 02 September 2003 16:30, Arnaldo Carvalho de Melo wrote:
> > The 1.786.1.54 changeset (i.e. the initial ipt_physdev.c one 8) created
> 
> Does this fix it?

You can't use this fix.  This header and structure are used by
userspace and "unsigned long" can be a different size in the
kernel than it is in user space.

Please, just remove the super-silly memcmp() optimization in
the ipt_physdev.c code.

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