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

Andi Kleen (ak@suse.de)
Thu, 8 Aug 2002 13:41:13 +0200


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/