Re: [BUG] alignment problem in net/core/flow.c:flow_key_compare
From: David S. Miller
Date: Thu Mar 18 2004 - 13:33:07 EST
On Thu, 18 Mar 2004 12:25:57 +0100
mru@xxxxxx (Måns Rullgård) wrote:
> mru@xxxxxx (Måns Rullgård) writes:
>
> > The solutions I see are either to force the alignment of struct flowi
> > to 64 bits, or to use 32-bit access in flow_key_compare.
>
> I forgot to mention that this is kernel 2.6.4.
Yes, just add an alignment attribute of some kind to the struct
is probably the best idea.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/