Re: [PATCH] fix HIPQUAD macro in kernel.h

From: Andi Kleen (ak@suse.de)
Date: Thu Aug 08 2002 - 06:41:13 EST


On Thu, Aug 08, 2002 at 01:31:12PM +0200, Harald Welte wrote:
> Hi Dave!
>
> Below is a fix for the HIPQUAD macro in kernel.h. The macro is currently
> not endian-aware - it just assumes running on a little-endian machine.
>
> If you don't like the #ifdefs in kernel.h, the macros could be moved into
> include/linux/byteorder/.
>
> Please apply, thanks

That change is wrong. IP address should be always in network order (=BE)
while in kernel.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:16 EST