linux-stable-rt/arch
Bodo Stroesser 0e76422ca5 [PATCH] uml: fix UML network driver endianness bugs
ifa->ifa_address and ifa->ifa_mask are defined as __u32, but used as if they
were char[4].

Network code uses htons() to convert it.  So UML's method to access these
fields is wrong for bigendians (e.g.  s390)

I replaced bytewise copying by memcpy(), maybe even that might be removed, if
ifa->ifa_address/mask may be used immediately.

Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:30 -08:00
..
alpha
arm [ARM] Fix /proc/cpuinfo format for ARM SMP 2005-11-06 21:41:08 +00:00
arm26
cris [PATCH] cris: "extern inline" -> "static inline" 2005-11-07 07:53:30 -08:00
frv
h8300
i386 [PATCH] x86: add MCE resume 2005-11-07 07:53:30 -08:00
ia64 [PATCH] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL 2005-11-07 07:53:23 -08:00
m32r
m68k
m68knommu [PATCH] m68knommu: updated defconfig 2005-11-01 21:41:19 -08:00
mips
parisc
powerpc [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc [PATCH] ppc32: Add CPM1 config option 2005-11-07 07:53:27 -08:00
ppc64 [PATCH] ppc64: Fix zImage boot 2005-11-07 07:53:23 -08:00
s390
sh [PATCH] sh: Use pfn_valid() for lazy dcache write-back on SH7705 2005-11-07 07:53:28 -08:00
sh64
sparc
sparc64
um [PATCH] uml: fix UML network driver endianness bugs 2005-11-07 07:53:30 -08:00
v850
x86_64 [PATCH] x86-64: bitops fix for -Os 2005-11-02 19:41:32 -08:00
xtensa